diff options
author | 2006-06-30 01:56:15 -0700 | |
---|---|---|
committer | 2006-06-30 11:25:40 -0700 | |
commit | 270d56e536dcd37cc819a6adb51d918185411048 (patch) | |
tree | 7594eb9368e1977ff68bc8a9c61afa2cc41640c5 /fs/buffer.c | |
parent | [PATCH] knfsd: nfsd4: remove superfluous grace period checks (diff) | |
download | linux-rng-270d56e536dcd37cc819a6adb51d918185411048.tar.xz linux-rng-270d56e536dcd37cc819a6adb51d918185411048.zip |
[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 <richterd@citi.umich.edu>
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/buffer.c')
0 files changed, 0 insertions, 0 deletions