]> git.ipfire.org Git - thirdparty/linux.git/commit
rpc_new_dir(): the last argument is always NULL
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 21 Feb 2024 04:38:36 +0000 (23:38 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 Jul 2025 02:44:55 +0000 (22:44 -0400)
commitdb83fa912ef26f1ce3f4aa55a09fd7ce94730a4d
tree1da1ba77cd4a10ba65616ac1e81758191c9e62d9
parent805060a69c3e5961c55dc5e53bcdcec323a2aa4c
rpc_new_dir(): the last argument is always NULL

All callers except the one in rpc_populate() pass explicit NULL
there; rpc_populate() passes its last argument ('private') instead,
but in the only call of rpc_populate() that creates any subdirectories
(when creating fixed subdirectories of root) private itself is NULL.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/sunrpc/rpc_pipe.c