From: NeilBrown Date: Sat, 16 Apr 2005 22:26:38 +0000 (-0700) Subject: [PATCH] nfsd4: fix struct file leak X-Git-Tag: v2.6.12-rc3~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c907132d534c10b4f34a60383c8384403cb424a4;p=pandora-kernel.git [PATCH] nfsd4: fix struct file leak We were failing to close on an error path, resulting in a leak of struct files which could take a v4 server down fairly quickly.... So call nfs4_close_delegation instead of just open-coding parts of it. Simplify the cleanup on delegation failure while we're at it. 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