]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Clean up nfsd3_proc_create()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 25 Mar 2022 18:47:54 +0000 (14:47 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 20 May 2022 17:18:24 +0000 (13:18 -0400)
commitf575e35659e803a5b579666ac00ce2ce646b5914
tree48340c59efd64a3cf6c4672ba425002729b66f2e
parentb7ce843106266f6ddac5658ed7bb2fd7ef1d78a0
NFSD: Clean up nfsd3_proc_create()

As near as I can tell, mode bit masking and setting S_IFREG is
already done by do_nfsd_create() and vfs_create(). The NFSv4 path
(do_open_lookup), for example, does not bother with this special
processing.

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