nfsd: move some commit_metadata()s outside the inode lock
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 14 May 2021 22:21:37 +0000 (18:21 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 25 May 2021 21:06:51 +0000 (17:06 -0400)
commiteeeadbb9bd5652c47bb9b31aa9ad8b4f1b4aa8b3
tree55b5d3d7bbcb9bdc03d37081bd1b40e23539c9c8
parente5d74a2d0ee67ae00edad43c3d7811016e4d2e21
nfsd: move some commit_metadata()s outside the inode lock

The commit may be time-consuming and there's no need to hold the lock
for it.

More of these are possible, these were just some easy ones.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c