diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2006-04-30 14:20:09 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2006-04-30 14:20:09 +0000 |
commit | a4cb7d48e5f539c9c6c8918d25916b5fac8dcd8a (patch) | |
tree | f86b662368f0d39c80089283db45fbc7db35c09f /sys/xfs/xfs_dev-common.c | |
parent | dba3801a71db41c05ec0bfd759e004548d5e3eca (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.c | 5 |
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) |