]> git.karo-electronics.de Git - mv-sheeva.git/commit
drivers/block/loop.c: emit uevent on auto release
authorPhillip Susi <psusi@cfl.rr.com>
Wed, 21 Sep 2011 08:02:13 +0000 (10:02 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2011 08:02:13 +0000 (10:02 +0200)
commit8a9c594422ecad912d6470888acdee9a1236ad68
tree6f8da22845a400ec63f7f623ac26206a93812bb8
parent5a3a76e6c35fa236fc234d17a98edeb41d49130f
drivers/block/loop.c: emit uevent on auto release

The loopback driver failed to emit the change uevent when auto releasing
the device.  Fixed lo_release() to pass the bdev to loop_clr_fd() so it
can emit the event.

Signed-off-by: Phillip Susi <psusi@cfl.rr.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Ayan George <ayan@ayan.net>
Signed-off-by: Andrew Morton <akpm@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c