]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ufs: unlock_super without lock
authorEvgeniy Dushistov <dushistov@mail.ru>
Sun, 25 Jun 2006 12:47:26 +0000 (05:47 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:03 +0000 (10:01 -0700)
commit2e006393ba5b599d9c43f94f8d8989e68131433e
tree541161158464b388db66093ec9eb25425b0e2d5e
parent50aa4eb0b978f4a0283471c776ed812269ac8af5
[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>
fs/ufs/balloc.c