]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Remove unnecessary kmap in nfs_readdir_xdr_to_array()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 1 Nov 2020 18:31:20 +0000 (13:31 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:51 +0000 (14:05 -0500)
commitcdf8a0220b56c258275ac35de4670597ad5d88e1
treebbf1be274170e339a8e0644256970ca26f08539c
parent8f1af5af9319029c2a2d834dac8ae4650aac5e30
NFS: Remove unnecessary kmap in nfs_readdir_xdr_to_array()

The kmapped pointer is only used once per loop to check if we need to
exit.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Dave Wysochanski <dwysocha@redhat.com>
fs/nfs/dir.c