loop: mutex already unlocked in loop_clr_fd()
authorAlexander Beregalov <a.beregalov@gmail.com>
Tue, 7 Apr 2009 11:48:21 +0000 (13:48 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 7 Apr 2009 11:48:21 +0000 (13:48 +0200)
commitffcd7dca3ab78f9f425971756e5e90024157f6be
tree777753013a09b5de8938a9b1af1c1b6ac5147635
parentb029195dda0129b427c6e579a3bb3ae752da3a93
loop: mutex already unlocked in loop_clr_fd()

mount/1865 is trying to release lock (&lo->lo_ctl_mutex) at:
but there are no more locks to release!

mutex is already unlocked in loop_clr_fd(), we should not
try to unlock it in lo_release() again.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/loop.c