diff options
author | John Stultz <johnstul@us.ibm.com> | 2010-04-29 09:31:45 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-29 09:34:36 +0200 |
commit | a0a59617869efb2ec0e80c6cf11cfc90735600f6 (patch) | |
tree | efad5475f01d31d9b16a2ade6a9fcca6c1c49dc3 | |
parent | d3d17b82c29040cacf8e04c3def0eb552c4e3693 (diff) | |
download | lwn-a0a59617869efb2ec0e80c6cf11cfc90735600f6.tar.gz lwn-a0a59617869efb2ec0e80c6cf11cfc90735600f6.zip |
xfs: Make i_count access non-atomic
i_count is not longer atomic. Fix up the leftover.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | fs/xfs/linux-2.6/xfs_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_trace.h b/fs/xfs/linux-2.6/xfs_trace.h index c22a608321a3..a1dc3a153ef9 100644 --- a/fs/xfs/linux-2.6/xfs_trace.h +++ b/fs/xfs/linux-2.6/xfs_trace.h @@ -539,7 +539,7 @@ DECLARE_EVENT_CLASS(xfs_inode_class, TP_fast_assign( __entry->dev = VFS_I(ip)->i_sb->s_dev; __entry->ino = ip->i_ino; - __entry->count = atomic_read(&VFS_I(ip)->i_count); + __entry->count = VFS_I(ip)->i_count; __entry->caller_ip = caller_ip; ), TP_printk("dev %d:%d ino 0x%llx count %d caller %pf", |