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/nfsclient/nfs_vfsops.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/nfsclient/nfs_vfsops.c')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 6b6557f..a653a0e 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -258,12 +258,12 @@ nfs_statfs(struct mount *mp, struct statfs *sbp, struct thread *td) #ifndef nolint sfp = NULL; #endif - error = vfs_busy(mp, LK_NOWAIT, NULL, td); + error = vfs_busy(mp, LK_NOWAIT, NULL); if (error) return (error); error = nfs_nget(mp, (nfsfh_t *)nmp->nm_fh, nmp->nm_fhsize, &np, LK_EXCLUSIVE); if (error) { - vfs_unbusy(mp, td); + vfs_unbusy(mp); return (error); } vp = NFSTOV(np); @@ -313,7 +313,7 @@ nfs_statfs(struct mount *mp, struct statfs *sbp, struct thread *td) m_freem(mrep); nfsmout: vput(vp); - vfs_unbusy(mp, td); + vfs_unbusy(mp); return (error); } |