From: NeilBrown Date: Wed, 4 Oct 2006 09:16:15 +0000 (-0700) Subject: [PATCH] knfsd: lockd: fix refount on nsm X-Git-Tag: v2.6.19-rc1~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b54dae2b0defb30babb0fe87b13463b9f4b2907;p=pandora-kernel.git [PATCH] knfsd: lockd: fix refount on nsm If nlm_lookup_host finds what it is looking for it exits with an extra reference on the matching 'nsm' structure. So don't actually count the reference until we are (fairly) sure it is going to be used. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed