diff options
author | Evgeniy Dushistov <dushistov@mail.ru> | 2006-06-25 16:47:26 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 21:01:03 +0400 |
commit | 2e006393ba5b599d9c43f94f8d8989e68131433e (patch) | |
tree | 541161158464b388db66093ec9eb25425b0e2d5e /security | |
parent | 50aa4eb0b978f4a0283471c776ed812269ac8af5 (diff) | |
download | linux-2e006393ba5b599d9c43f94f8d8989e68131433e.tar.xz |
[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 'security')
0 files changed, 0 insertions, 0 deletions