]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac6a7f2b75ee40c0a4fad73ed2ca15cb36c7bc15
tree26bda0857b21826b949d0af06e601e8c58b3be96
parent3d90016fbb8d2640c5a2ce6e30fc3d514d49f366
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