summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@sgi.com>2007-05-08 13:50:19 +1000
committerTim Shimmin <tes@sgi.com>2007-05-08 13:50:19 +1000
commitf7c66ce3f70d8417de0cfb481ca4e5430382ec5d (patch)
treec9b4d5cb09a9241cb305532edfbd703cd181530d /fs/xfs/xfs_vfsops.c
parent71dfd5a396d11512aa6c8ed0d35b268bc084bb9b (diff)
downloadlinux-f7c66ce3f70d8417de0cfb481ca4e5430382ec5d.tar.gz
linux-f7c66ce3f70d8417de0cfb481ca4e5430382ec5d.tar.bz2
linux-f7c66ce3f70d8417de0cfb481ca4e5430382ec5d.zip
[XFS] Add lockdep support for XFS
SGI-PV: 963965 SGI-Modid: xfs-linux-melb:xfs-kern:28485a Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 2e830e7f52e0..65c561201cb8 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -696,7 +696,7 @@ xfs_unmount_flush(
bhv_vnode_t *rvp = XFS_ITOV(rip);
int error;
- xfs_ilock(rip, XFS_ILOCK_EXCL);
+ xfs_ilock(rip, XFS_ILOCK_EXCL | XFS_ILOCK_PARENT);
xfs_iflock(rip);
/*