]> 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)
commitd380f100b70dba6a5f3158db1fb3c0e3278dec04
tree14f96d69b8caf34019c0e5b18e74a17403ca46e3
parent7ca089bcb8c7efc40b41efc89df3a4209bbebba3
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