diff options
author | Evgeniy Dushistov <dushistov@mail.ru> | 2006-06-25 08:47:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:03 -0400 |
commit | 2e006393ba5b599d9c43f94f8d8989e68131433e (patch) | |
tree | 541161158464b388db66093ec9eb25425b0e2d5e /fs/ufs/inode.c | |
parent | 50aa4eb0b978f4a0283471c776ed812269ac8af5 (diff) |
[PATCH] ufs: unlock_super without lock
ufs_free_blocks function looks now in so way:
if (err)
goto failed;
lock_super();
failed:
unlock_super();
So if error happen we'll unlock not locked super.
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ufs/inode.c')
0 files changed, 0 insertions, 0 deletions