]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] knfsd: fix nfs4_open lock leak
authorJ. Bruce Fields <bfields@fieldses.org>
Tue, 7 Feb 2006 20:58:32 +0000 (12:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:12:31 +0000 (16:12 -0800)
commitcbd0d51a3318583fabf03bccc7a987e158482361
tree62a7d1d2bb6cd9f11536c2b9873a46b81fcac2a8
parent0df420d8b6c718d9a5e37531c3a9a6804493e9f4
[PATCH] knfsd: fix nfs4_open lock leak

I just noticed that my patch "don't create on open that fails due to
ERR_GRACE" (recently commited as fb553c0f17444e090db951b96df4d2d71b4f4b6b)
had an obvious problem that causes a deadlock on reboot recovery.  Sending
in this now since it seems like a clear 2.6.16 candidate.--b.

We're returning with a lock held in some error cases.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs4proc.c