From: Catalin Marinas Date: Thu, 11 Nov 2010 12:53:47 +0000 (+0000) Subject: nfs: Ignore kmemleak false positive in nfs_readdir_make_qstr X-Git-Tag: v2.6.37-rc3~28^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04e4bd1c67f941d81bff78a3b6b94194f081b7df;p=pandora-kernel.git 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 Cc: Bryan Schumaker Cc: Trond Myklebust Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed