J. Bruce Fields 8a28051085 [PATCH] nfsd4: fix nfsd4_lock cleanup on failure
release_state_owner also puts the lock owner on the close_lru.  There's no
need for that, though; replays of the failed lock would be handled by the
openowner not the lockowner.

Also consolidate the cleanup a bit, fixing leaks that can happen if errors
occur between the time a new lock owner is allocated and the lock is done.

Remove a comment and dprintk that look a little redundant.

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>
2006-01-18 19:20:24 -08:00
..
2006-01-18 19:20:22 -08:00
2006-01-11 18:42:13 -08:00
2006-01-14 18:25:19 -08:00
2005-11-08 16:54:53 +01:00
2005-10-04 13:22:01 -07:00
2006-01-11 18:42:13 -08:00
2006-01-16 23:15:31 -08:00
2006-01-18 19:20:23 -08:00
2006-01-18 19:20:16 -08:00
2006-01-11 18:42:13 -08:00
2005-05-05 16:36:47 -07:00
2006-01-11 18:42:13 -08:00
2005-11-07 07:54:06 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-01-14 10:27:32 -08:00
2006-01-08 20:13:48 -08:00
2006-01-11 18:42:13 -08:00
2005-05-05 16:36:47 -07:00
2006-01-10 08:01:25 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:13 -08:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:13 -08:00
2006-01-08 20:12:40 -08:00
2005-10-30 17:37:32 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-01-16 23:15:29 -08:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:13 -08:00
2006-01-08 20:13:56 -08:00
2005-11-07 18:18:11 -08:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:13 -08:00
2005-09-09 13:57:55 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00