mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
nfs/localio: remove extra indirect nfs_to call to check {read,write}_iter
[ Upstream commit0978e5b85f] Push the read_iter and write_iter availability checks down to nfs_do_local_read and nfs_do_local_write respectively. This eliminates a redundant nfs_to->nfsd_file_file() call. Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Stable-dep-of:992203a1fb("nfs/localio: restore creds before releasing pageio data") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
3f9b5dfbc4
commit
b0bf81e05b
1 changed files with 19 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue