NFSD: Clean up nfsd_vfs_write()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 28 Dec 2021 19:19:41 +0000 (14:19 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 8 Jan 2022 19:42:02 +0000 (14:42 -0500)
commit33388b3aefefd4d83764dab8038cb54068161a44
tree26bda0857b21826b949d0af06e601e8c58b3be96
parent555dbf1a9aac6d3150c8b52fa35f768a692f4eeb
NFSD: Clean up nfsd_vfs_write()

The RWF_SYNC and !RWF_SYNC arms are now exactly alike except that
the RWF_SYNC arm resets the boot verifier twice in a row. Fix that
redundancy and de-duplicate the code.

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