]> git.ipfire.org Git - thirdparty/linux.git/commit
rpc_unlink(): saner calling conventions
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Feb 2024 05:24:19 +0000 (00:24 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 Jul 2025 02:44:55 +0000 (22:44 -0400)
commitbccea4ed060f1f6476ac7a0649ffa73f77d6e94c
tree47754c5e34ec9dd3efe8998e0e0a12b79f6c9813
parent8be22c49646e47452e74aa0b97ea50fb04c271ed
rpc_unlink(): saner calling conventions

1) pass it pipe instead of pipe->dentry
2) zero pipe->dentry afterwards
3) it always returns 0; why bother?

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/blocklayout/rpc_pipefs.c
fs/nfs/nfs4idmap.c
fs/nfsd/nfs4recover.c
include/linux/sunrpc/rpc_pipe_fs.h
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/rpc_pipe.c