Commit 55228659 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] err2-29: ufs_new_fragments() locking fix

Found by the Stanford locking checker
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 54fe0e96
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment