summaryrefslogtreecommitdiffstats
path: root/sys/xfs/xfs_dev-common.c
diff options
context:
space:
mode:
authorsturm <sturm@openbsd.org>2006-06-25 15:01:53 +0000
committersturm <sturm@openbsd.org>2006-06-25 15:01:53 +0000
commit28d58497fe8c5b4227f0c6f80510fc8b641e8b7b (patch)
tree88b39ceb78c4170c5c6c99bbc5604e30fea285c4 /sys/xfs/xfs_dev-common.c
parentregen (diff)
downloadwireguard-openbsd-28d58497fe8c5b4227f0c6f80510fc8b641e8b7b.tar.xz
wireguard-openbsd-28d58497fe8c5b4227f0c6f80510fc8b641e8b7b.zip
rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAIT
requested by and ok pedro
Diffstat (limited to 'sys/xfs/xfs_dev-common.c')
-rw-r--r--sys/xfs/xfs_dev-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/xfs/xfs_dev-common.c b/sys/xfs/xfs_dev-common.c
index 55100533536..88338bde49a 100644
--- a/sys/xfs/xfs_dev-common.c
+++ b/sys/xfs/xfs_dev-common.c
@@ -180,7 +180,7 @@ xfs_devclose_common(dev_t dev, d_thread_t *proc)
*/
if (xfs[minor(dev)].mp != NULL) {
- if (xfs_vfs_busy(xfs[minor(dev)].mp, VB_READ|VB_UMWAIT, NULL, proc)) {
+ if (xfs_vfs_busy(xfs[minor(dev)].mp, VB_READ|VB_WAIT, NULL, proc)) {
NNPFSDEB(XDEBNODE, ("xfs_dev_close: vfs_busy() --> BUSY\n"));
return EBUSY;
}