summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfsserver/nfs_nfsdport.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nfsserver/nfs_nfsdport.c')
-rw-r--r--sys/fs/nfsserver/nfs_nfsdport.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c b/sys/fs/nfsserver/nfs_nfsdport.c
index 09a1d73..5dbb21d 100644
--- a/sys/fs/nfsserver/nfs_nfsdport.c
+++ b/sys/fs/nfsserver/nfs_nfsdport.c
@@ -1257,13 +1257,10 @@ nfsvno_fsync(struct vnode *vp, u_int64_t off, int cnt, struct ucred *cred,
* Statfs vnode op.
*/
int
-nfsvno_statfs(struct vnode *vp, struct statfs *sf, struct ucred *cred,
- struct thread *p)
+nfsvno_statfs(struct vnode *vp, struct statfs *sf)
{
- int error;
- error = VFS_STATFS(vp->v_mount, sf, p);
- return (error);
+ return (VFS_STATFS(vp->v_mount, sf));
}
/*
OpenPOWER on IntegriCloud