diff options
author | Fabian Frederick <fabf@skynet.be> | 2017-05-03 14:52:21 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-05-05 13:01:33 -0400 |
commit | 0795bf8357c1887e2a95e6e4f5b89d0896a0d929 (patch) | |
tree | 17bf2e660e93fe9ac45246abe138ef5273471c01 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 59b86d85a7a30ba56289cdac83cd66a7dd2adebf (diff) |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions