diff options
author | attilio <attilio@FreeBSD.org> | 2008-08-31 14:26:08 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2008-08-31 14:26:08 +0000 |
commit | e2ca413d09b408b7f5caff24c9c36ddb1c43dc7c (patch) | |
tree | 904524119c5e2a5d0942f492871aaf2f60b15b70 /sys/ufs/ffs/ffs_softdep.c | |
parent | 2d23f13f7f4cdaadb7247c2f0597e503d6035508 (diff) | |
download | FreeBSD-src-e2ca413d09b408b7f5caff24c9c36ddb1c43dc7c.zip FreeBSD-src-e2ca413d09b408b7f5caff24c9c36ddb1c43dc7c.tar.gz |
Decontextualize vfs_busy(), vfs_unbusy() and vfs_mount_alloc() functions.
Manpages are updated accordingly.
Tested by: Diego Sardina <siarodx at gmail dot com>
Diffstat (limited to 'sys/ufs/ffs/ffs_softdep.c')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 2475bb3..4244588 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -742,7 +742,7 @@ softdep_flush(void) nmp = TAILQ_NEXT(mp, mnt_list); if ((mp->mnt_flag & MNT_SOFTDEP) == 0) continue; - if (vfs_busy(mp, LK_NOWAIT, &mountlist_mtx, td)) + if (vfs_busy(mp, LK_NOWAIT, &mountlist_mtx)) continue; vfslocked = VFS_LOCK_GIANT(mp); softdep_process_worklist(mp, 0); @@ -752,7 +752,7 @@ softdep_flush(void) VFS_UNLOCK_GIANT(vfslocked); mtx_lock(&mountlist_mtx); nmp = TAILQ_NEXT(mp, mnt_list); - vfs_unbusy(mp, td); + vfs_unbusy(mp); } mtx_unlock(&mountlist_mtx); if (remaining) |