floppy: fix lock imbalance
commitadb49b219d3199a39f5894431012b3c2e3bedee0
authorJiri Slaby <jirislaby@gmail.com>
Tue, 30 Jun 2009 18:41:44 +0000 (30 11:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jul 2009 03:38:54 +0000 (19 20:38 -0700)
tree2cbce89183b96f110fa09aff36a59aa3aa6a7342
parentded7afa853a7771eeae2067bc8253ccb427bffa9
floppy: fix lock imbalance

commit 8516a500029890a72622d245f8ed32c4e30969b7 upstream.

A crappy macro prevents us unlocking on a fail path.

Expand the macro and unlock appropriatelly.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/floppy.c