diff options
author | David Chinner <dgc@sgi.com> | 2006-11-11 18:04:54 +1100 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-11-11 18:04:54 +1100 |
commit | 7a18c386078eaf17ae54595f66c0d64d9c1cb29c (patch) | |
tree | d3194ced5802969f78cbd21c9d99dc01c622bb51 /fs/xfs/linux-2.6 | |
parent | 2e2e7bb1fd857b9fc83b0cd77b6b647ebb423301 (diff) | |
download | kernel_samsung_smdk4412-7a18c386078eaf17ae54595f66c0d64d9c1cb29c.zip kernel_samsung_smdk4412-7a18c386078eaf17ae54595f66c0d64d9c1cb29c.tar.gz kernel_samsung_smdk4412-7a18c386078eaf17ae54595f66c0d64d9c1cb29c.tar.bz2 |
[XFS] Clean up i_flags and i_flags_lock handling.
SGI-PV: 956832
SGI-Modid: xfs-linux-melb:xfs-kern:27358a
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Nathan Scott <nscott@aconex.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 38c4d12..de05abb 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c @@ -227,9 +227,7 @@ xfs_initialize_vnode( xfs_revalidate_inode(XFS_BHVTOM(bdp), vp, ip); xfs_set_inodeops(inode); - spin_lock(&ip->i_flags_lock); - ip->i_flags &= ~XFS_INEW; - spin_unlock(&ip->i_flags_lock); + xfs_iflags_clear(ip, XFS_INEW); barrier(); unlock_new_inode(inode); |