NFSD: Refactor nfsd_create_setattr()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 28 Mar 2022 20:10:17 +0000 (16:10 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 20 May 2022 17:18:24 +0000 (13:18 -0400)
commit5f46e950c395b9c14c282b53ba78c5fd46d6c256
tree14f96d69b8caf34019c0e5b18e74a17403ca46e3
parent14ee45b70dd0d9ae76fb066cd8c0652d657353f6
NFSD: Refactor nfsd_create_setattr()

I'd like to move do_nfsd_create() out of vfs.c. Therefore
nfsd_create_setattr() needs to be made publicly visible.

Note that both call sites in vfs.c commit both the new object and
its parent directory, so just combine those common metadata commits
into nfsd_create_setattr().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/vfs.c
fs/nfsd/vfs.h