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)
commite61568599c9ad638fdaba150fee07d7065e31851
tree48340c59efd64a3cf6c4672ba425002729b66f2e
parent2059b698a2efcce3c67b0e61eab7d7680bbe10bd
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