summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAlessio Igor Bogani <abogani@texware.it>2010-02-22 22:33:42 +0100
committerThomas Gleixner <tglx@linutronix.de>2010-02-23 17:48:23 +0100
commit4e99db3861388e6bb49a84cf6aa599cbe1e4804d (patch)
tree436e304c7e3f43ba174f9e955791cef66c95ec7c /fs
parentb704836bc778d69d2236e18aa7c10ae8ad78eb7d (diff)
downloadlwn-4e99db3861388e6bb49a84cf6aa599cbe1e4804d.tar.gz
lwn-4e99db3861388e6bb49a84cf6aa599cbe1e4804d.zip
xfs: Add missing rw_semaphore annotation in ASSERT
fs/xfs/linux-2.6/xfs_super.c: In function ‘xfs_fs_clear_inode’: fs/xfs/linux-2.6/xfs_super.c:1113: error: ‘struct rw_anon_semaphore’ has no member named ‘lock’ make[2]: *** [fs/xfs/linux-2.6/xfs_super.o] Error 1 Signed-off-by: Alessio Igor Bogani <abogani@texware.it> LKML-Reference: <1266874422-3200-1-git-send-email-abogani@texware.it> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 77414db10dc2..5eddd6fcc3ab 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -1110,7 +1110,7 @@ xfs_fs_clear_inode(
* (and basically indicate what we are doing), we explicitly
* re-init the iolock here.
*/
- ASSERT(!rwsem_is_locked(&ip->i_iolock.mr_lock));
+ ASSERT(!anon_rwsem_is_locked(&ip->i_iolock.mr_lock));
mrlock_init(&ip->i_iolock, MRLOCK_BARRIER, "xfsio", ip->i_ino);
xfs_inactive(ip);