From: Herbert Xu Date: Thu, 13 Nov 2014 10:11:22 +0000 (+0800) Subject: rhashtable: Add parent argument to mutex_is_held X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~193^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b4ce2353467fdab6e003be7a3129fb09b09deac;p=pandora-kernel.git rhashtable: Add parent argument to mutex_is_held Currently mutex_is_held can only test locks in the that are global since it takes no arguments. This prevents rhashtable from being used in places where locks are lock, e.g., per-namespace locks. This patch adds a parent field to mutex_is_held and rhashtable_params so that local locks can be used (and tested). Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed