From: David M. Richter Date: Fri, 30 Jun 2006 08:56:15 +0000 (-0700) Subject: [PATCH] knfsd: nfsd: fix misplaced fh_unlock() in nfsd_link() X-Git-Tag: v2.6.18-rc1~266 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=270d56e536dcd37cc819a6adb51d918185411048;p=pandora-kernel.git [PATCH] knfsd: nfsd: fix misplaced fh_unlock() in nfsd_link() In the event that lookup_one_len() fails in nfsd_link(), fh_unlock() is skipped and locks are held overlong. Patch was tested on 2.6.17-rc2 by causing lookup_one_len() to fail and verifying that fh_unlock() gets called appropriately. Signed-off-by: David M. Richter Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed