summaryrefslogtreecommitdiffstats
path: root/fs/nfs/cache_lib.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2010-11-11 12:53:47 +0000
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-11-16 12:03:14 -0500
commit04e4bd1c67f941d81bff78a3b6b94194f081b7df (patch)
tree7f6cd633219bc19d7a716a0c2af4eaae2b5170ba /fs/nfs/cache_lib.h
parent94f58df8e545657f0b2d16eca1ac7a4ec39ed6be (diff)
downloadop-kernel-dev-04e4bd1c67f941d81bff78a3b6b94194f081b7df.zip
op-kernel-dev-04e4bd1c67f941d81bff78a3b6b94194f081b7df.tar.gz
nfs: Ignore kmemleak false positive in nfs_readdir_make_qstr
Strings allocated via kmemdup() in nfs_readdir_make_qstr() are referenced from the nfs_cache_array which is stored in a page cache page. Kmemleak does not scan such pages and it reports several false positives. This patch annotates the string->name pointer so that kmemleak does not consider it a real leak. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Bryan Schumaker <bjschuma@netapp.com> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/cache_lib.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud