summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_dev-common.c
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2006-04-30 14:20:09 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2006-04-30 14:20:09 +0000
commita4cb7d48e5f539c9c6c8918d25916b5fac8dcd8a (patch)
treef86b662368f0d39c80089283db45fbc7db35c09f /sys/xfs/xfs_dev-common.c
parentdba3801a71db41c05ec0bfd759e004548d5e3eca (diff)
remove the simplelock argument from vfs_busy() which is currently not
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
Diffstat (limited to 'sys/xfs/xfs_dev-common.c')
-rw-r--r--sys/xfs/xfs_dev-common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/xfs/xfs_dev-common.c b/sys/xfs/xfs_dev-common.c
index 774596dd1d5..533bcae5a02 100644
--- a/sys/xfs/xfs_dev-common.c
+++ b/sys/xfs/xfs_dev-common.c
@@ -113,7 +113,10 @@ xfs_devopen_common(dev_t dev)
return 0;
}
-#if defined(HAVE_THREE_ARGUMENT_VFS_BUSY)
+#if defined(HAVE_TWO_ARGUMENT_VFS_BUSY)
+#define xfs_vfs_busy(mp, flags, lock, proc) vfs_busy((mp), (flags))
+#define xfs_vfs_unbusy(mp, proc) vfs_unbusy((mp))
+#elif defined(HAVE_THREE_ARGUMENT_VFS_BUSY)
#define xfs_vfs_busy(mp, flags, lock, proc) vfs_busy((mp), (flags), (lock))
#define xfs_vfs_unbusy(mp, proc) vfs_unbusy((mp))
#elif defined(HAVE_FOUR_ARGUMENT_VFS_BUSY)