diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2017-04-29 00:46:51 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2017-04-29 00:46:51 +0000 |
commit | 9faa682bf2f6a845b0179e887ea7427fb553a7f2 (patch) | |
tree | e37e08e8cd4157419360c59ba6d8cfdc18a60312 /sys/fs/nfs | |
parent | 0bd6b1b79dfc27f944e946f53979a579a7720070 (diff) | |
download | FreeBSD-src-9faa682bf2f6a845b0179e887ea7427fb553a7f2.zip FreeBSD-src-9faa682bf2f6a845b0179e887ea7427fb553a7f2.tar.gz |
MFC: r316829
Remove unused "cred" argument to ncl_flush().
The "cred" argument of ncl_flush() is unused and it was confusing to have
the code passing in NULL for this argument in some cases. This patch deletes
this argument.
There is no semantic change because of this patch.
Diffstat (limited to 'sys/fs/nfs')
-rw-r--r-- | sys/fs/nfs/nfs_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfs/nfs_var.h b/sys/fs/nfs/nfs_var.h index 6993c9a..6004fff 100644 --- a/sys/fs/nfs/nfs_var.h +++ b/sys/fs/nfs/nfs_var.h @@ -592,7 +592,7 @@ int nfscl_maperr(NFSPROC_T *, int, uid_t, gid_t); void nfscl_init(void); /* nfs_clbio.c */ -int ncl_flush(vnode_t, int, struct ucred *, NFSPROC_T *, int, int); +int ncl_flush(vnode_t, int, NFSPROC_T *, int, int); /* nfs_clnode.c */ void ncl_invalcaches(vnode_t); |