summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ufs/ufs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ufs/ufs_vfsops.c')
-rw-r--r--sys/ufs/ufs/ufs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_vfsops.c b/sys/ufs/ufs/ufs_vfsops.c
index 1280cdb..c983164 100644
--- a/sys/ufs/ufs/ufs_vfsops.c
+++ b/sys/ufs/ufs/ufs_vfsops.c
@@ -118,7 +118,7 @@ ufs_quotactl(mp, cmds, id, arg, td)
if ((u_int)type >= MAXQUOTAS)
return (EINVAL);
- if (vfs_busy(mp, LK_NOWAIT, 0, td))
+ if (vfs_busy(mp, LK_NOWAIT, 0))
return (0);
switch (cmd) {
@@ -150,7 +150,7 @@ ufs_quotactl(mp, cmds, id, arg, td)
error = EINVAL;
break;
}
- vfs_unbusy(mp, td);
+ vfs_unbusy(mp);
return (error);
#endif
}
OpenPOWER on IntegriCloud