diff options
author | Fabian Frederick <fabf@skynet.be> | 2017-05-03 20:52:21 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-05-05 19:01:33 +0200 |
commit | 0795bf8357c1887e2a95e6e4f5b89d0896a0d929 (patch) | |
tree | 17bf2e660e93fe9ac45246abe138ef5273471c01 /fs/nfs/callback_proc.c | |
parent | NFS: always treat the invocation of nfs_getattr as cache hit when noac is on (diff) | |
download | linux-0795bf8357c1887e2a95e6e4f5b89d0896a0d929.tar.xz linux-0795bf8357c1887e2a95e6e4f5b89d0896a0d929.zip |
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