summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <johnstul@us.ibm.com>2010-04-29 09:31:45 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-04-29 09:34:36 +0200
commita0a59617869efb2ec0e80c6cf11cfc90735600f6 (patch)
treeefad5475f01d31d9b16a2ade6a9fcca6c1c49dc3
parentd3d17b82c29040cacf8e04c3def0eb552c4e3693 (diff)
downloadlwn-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.h2
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",