diff options
| author | John Stultz <johnstul@us.ibm.com> | 2010-04-29 03:31:45 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-29 03:34:36 -0400 |
| commit | a0a59617869efb2ec0e80c6cf11cfc90735600f6 (patch) | |
| tree | efad5475f01d31d9b16a2ade6a9fcca6c1c49dc3 | |
| parent | d3d17b82c29040cacf8e04c3def0eb552c4e3693 (diff) | |
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, | |||
| 539 | TP_fast_assign( | 539 | TP_fast_assign( |
| 540 | __entry->dev = VFS_I(ip)->i_sb->s_dev; | 540 | __entry->dev = VFS_I(ip)->i_sb->s_dev; |
| 541 | __entry->ino = ip->i_ino; | 541 | __entry->ino = ip->i_ino; |
| 542 | __entry->count = atomic_read(&VFS_I(ip)->i_count); | 542 | __entry->count = VFS_I(ip)->i_count; |
| 543 | __entry->caller_ip = caller_ip; | 543 | __entry->caller_ip = caller_ip; |
| 544 | ), | 544 | ), |
| 545 | TP_printk("dev %d:%d ino 0x%llx count %d caller %pf", | 545 | TP_printk("dev %d:%d ino 0x%llx count %d caller %pf", |
