Commit 0978e5b8 authored by Mike Snitzer's avatar Mike Snitzer Committed by Trond Myklebust
Browse files

nfs/localio: remove extra indirect nfs_to call to check {read,write}_iter



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: default avatarMike Snitzer <snitzer@kernel.org>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 894f5c55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment