diff options
author | Evgeniy Dushistov <dushistov@mail.ru> | 2006-06-25 05:47:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:03 -0700 |
commit | 2e006393ba5b599d9c43f94f8d8989e68131433e (patch) | |
tree | 541161158464b388db66093ec9eb25425b0e2d5e /fs/pnode.h | |
parent | 50aa4eb0b978f4a0283471c776ed812269ac8af5 (diff) | |
download | op-kernel-dev-2e006393ba5b599d9c43f94f8d8989e68131433e.zip op-kernel-dev-2e006393ba5b599d9c43f94f8d8989e68131433e.tar.gz |
[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/pnode.h')
0 files changed, 0 insertions, 0 deletions