diff options
author | Alan Somers <asomers@FreeBSD.org> | 2019-05-24 20:27:50 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2019-05-24 20:27:50 +0000 |
commit | 65417f5e27264225693d499eca26e695fb153318 (patch) | |
tree | e86611673a9fb08da76c7fc6af799ecfdc421526 /sys/fs/nfsclient/nfs.h | |
parent | 57557e714e11dbb10107ce1894f213ace12a0586 (diff) |
Remove "struct ucred*" argument from vtruncbuf
vtruncbuf takes a "struct ucred*" argument. AFAICT, it's been unused ever
since that function was first added in r34611. Remove it. Also, remove some
"struct ucred" arguments from fuse and nfs functions that were only used by
vtruncbuf.
Reviewed by: cem
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20377
Notes
Notes:
svn path=/head/; revision=348251
Diffstat (limited to 'sys/fs/nfsclient/nfs.h')
-rw-r--r-- | sys/fs/nfsclient/nfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/nfsclient/nfs.h b/sys/fs/nfsclient/nfs.h index 60b7f3e5ee3a..ce1747a2ab6b 100644 --- a/sys/fs/nfsclient/nfs.h +++ b/sys/fs/nfsclient/nfs.h @@ -91,8 +91,7 @@ enum nfsiod_state { /* * Function prototypes. */ -int ncl_meta_setsize(struct vnode *, struct ucred *, struct thread *, - u_quad_t); +int ncl_meta_setsize(struct vnode *, struct thread *, u_quad_t); void ncl_doio_directwrite(struct buf *); int ncl_bioread(struct vnode *, struct uio *, int, struct ucred *); int ncl_biowrite(struct vnode *, struct uio *, int, struct ucred *); |