]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: hook nfsd_commit up to the nfsd_file cache
authorJeff Layton <jeff.layton@primarydata.com>
Sun, 18 Aug 2019 18:18:51 +0000 (14:18 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 19 Aug 2019 15:00:40 +0000 (11:00 -0400)
commitfd3a0b740c144d6384961286922701475af8949f
treefd8ea9c530dde77222512d7b82d778c055116be2
parenta30c1fe7598842a950bbfda70887eb07c23d10fd
nfsd: hook nfsd_commit up to the nfsd_file cache

Use cached filps if possible instead of opening a new one every time.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c