summaryrefslogtreecommitdiff
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2017-05-03 21:52:21 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2017-05-05 20:01:33 +0300
commit0795bf8357c1887e2a95e6e4f5b89d0896a0d929 (patch)
tree17bf2e660e93fe9ac45246abe138ef5273471c01 /fs/nfs/callback_proc.c
parent59b86d85a7a30ba56289cdac83cd66a7dd2adebf (diff)
downloadlinux-0795bf8357c1887e2a95e6e4f5b89d0896a0d929.tar.xz
nfs: use kmap/kunmap directly
This patch removes useless nfs_readdir_get_array() and nfs_readdir_release_array() as suggested by Trond Myklebust nfs_readdir() calls nfs_revalidate_mapping() before readdir_search_pagecache() , nfs_do_filldir(), uncached_readdir() so mapping should be correct. While kmap() can't fail, all subsequent error checks were removed as well as unused labels. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
0 files changed, 0 insertions, 0 deletions