diff options
author | Andrew Morton <akpm@osdl.org> | 2004-07-02 20:04:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-02 20:04:35 -0700 |
commit | 5522865913ea1b3248bf241c0305a1d5fae4fddc (patch) | |
tree | 73684472e98125f074d228fb8c7cf1a02cc7ffe2 /fs | |
parent | 54fe0e9688fd5afe11c1e53829f2eefe06ca0b5b (diff) | |
download | history-5522865913ea1b3248bf241c0305a1d5fae4fddc.tar.gz |
[PATCH] err2-29: ufs_new_fragments() locking fix
Found by the Stanford locking checker
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ufs/balloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ufs/balloc.c b/fs/ufs/balloc.c index 4209eb7f238d6a..2e90984b015ec1 100644 --- a/fs/ufs/balloc.c +++ b/fs/ufs/balloc.c @@ -371,6 +371,7 @@ unsigned ufs_new_fragments (struct inode * inode, u32 * p, unsigned fragment, else { printk(KERN_ERR "ufs_new_fragments: bread fail\n"); + unlock_super(sb); return 0; } } |