Fix for this build error:
PATCH 1/1 Fix for this build error:
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 <[email protected]>
--- fs/xfs/linux-2.6/xfs_super.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/xfs/linux-2.6/xfs_super.c +1 -1
@@ -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);
Signature · 6 lines
1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html