From: Jeff Layton Date: Mon, 18 Mar 2013 14:49:07 +0000 (-0400) Subject: nfsd: only unhash DRC entries that are in the hashtable X-Git-Tag: v3.9-rc5~33^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a517b608fa3d9b65930ef53ffe4a2f9800e10f7d;p=pandora-kernel.git nfsd: only unhash DRC entries that are in the hashtable It's not safe to call hlist_del() on a newly initialized hlist_node. That leads to a NULL pointer dereference. Only do that if the entry is hashed. Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed