summaryrefslogtreecommitdiff
path: root/fs/efs/dir.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2006-01-19 01:43:18 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-19 03:20:24 (GMT)
commit8a280510852959c0d51b1d625e90c0491c238368 (patch)
treee24b9167f5f979cc126f07ef32c851ab249a7766 /fs/efs/dir.c
parenta6f6ef2f1d7329111fcad7db48fb7adba5062d0a (diff)
downloadlinux-fsl-qoriq-8a280510852959c0d51b1d625e90c0491c238368.tar.xz
[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>
Diffstat (limited to 'fs/efs/dir.c')
0 files changed, 0 insertions, 0 deletions