NFSD: Avoid calling fh_drop_write() twice in do_nfsd_create()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 28 Mar 2022 14:16:42 +0000 (10:16 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 20 May 2022 17:18:24 +0000 (13:18 -0400)
commit14ee45b70dd0d9ae76fb066cd8c0652d657353f6
tree3c2e2da08661ea76e564d044b48389df2a6c581f
parente61568599c9ad638fdaba150fee07d7065e31851
NFSD: Avoid calling fh_drop_write() twice in do_nfsd_create()

Clean up: The "out" label already invokes fh_drop_write().

Note that fh_drop_write() is already careful not to invoke
mnt_drop_write() if either it has already been done or there is
nothing to drop. Therefore no change in behavior is expected.

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