summaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2008-11-02 10:15:42 +0000
committerAttilio Rao <attilio@FreeBSD.org>2008-11-02 10:15:42 +0000
commit83b3bdbc8a62ff45142dfa354eb6eab7a81a0a6b (patch)
tree904da44fc29dcc675df2dfc69f644d6a90befc3c /sys/nfsclient/nfs_vfsops.c
parent0952268ecd3f2e5de535e97dcd9c94e4484edf85 (diff)
Notes
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 1aa6d8c3afed..5d30c6cc285a 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -258,7 +258,7 @@ nfs_statfs(struct mount *mp, struct statfs *sbp, struct thread *td)
#ifndef nolint
sfp = NULL;
#endif
- error = vfs_busy(mp, LK_NOWAIT, NULL);
+ error = vfs_busy(mp, MBF_NOWAIT);
if (error)
return (error);
error = nfs_nget(mp, (nfsfh_t *)nmp->nm_fh, nmp->nm_fhsize, &np, LK_EXCLUSIVE);