]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9ee659ff6706fe38fba85cbf23fad7ceba89fcc
tree14f96d69b8caf34019c0e5b18e74a17403ca46e3
parentfab9d7ff73a69fe670dd93f0f7f06f8055c4c072
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