aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2007-08-23 02:19:57 -0400
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-10-15 02:45:55 -0400
commit948c6d4fd894d9c7f9ad764cedbe443aa866def2 (patch)
tree1fc863026835aa07cd3eba50345a9a8619cb483e /fs/xfs/xfs_vfsops.c
parenteb9df39daf870d6f9e9528f092d506be04ebad2f (diff)
[XFS] optimize dmapi event tests w/o dmapi config
SGI-PV: 969372 SGI-Modid: xfs-linux-melb:xfs-kern:29444a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Vlad Apostolov <vapo@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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index ba8f7a3e4028..4a27648b5446 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -572,6 +572,7 @@ xfs_unmount(
572 rip = mp->m_rootip; 572 rip = mp->m_rootip;
573 rvp = XFS_ITOV(rip); 573 rvp = XFS_ITOV(rip);
574 574
575#ifdef HAVE_DMAPI
575 if (vfsp->vfs_flag & VFS_DMI) { 576 if (vfsp->vfs_flag & VFS_DMI) {
576 error = XFS_SEND_PREUNMOUNT(mp, vfsp, 577 error = XFS_SEND_PREUNMOUNT(mp, vfsp,
577 rvp, DM_RIGHT_NULL, rvp, DM_RIGHT_NULL, 578 rvp, DM_RIGHT_NULL, rvp, DM_RIGHT_NULL,
@@ -584,7 +585,7 @@ xfs_unmount(
584 unmount_event_flags = (mp->m_dmevmask & (1<<DM_EVENT_UNMOUNT))? 585 unmount_event_flags = (mp->m_dmevmask & (1<<DM_EVENT_UNMOUNT))?
585 0 : DM_FLAGS_UNWANTED; 586 0 : DM_FLAGS_UNWANTED;
586 } 587 }
587 588#endif
588 /* 589 /*
589 * First blow any referenced inode from this file system 590 * First blow any referenced inode from this file system
590 * out of the reference cache, and delete the timer. 591 * out of the reference cache, and delete the timer.