commit | 8a9c594422ecad912d6470888acdee9a1236ad68 | [log] [tgz] |
---|---|---|
author | Phillip Susi <psusi@cfl.rr.com> | Wed Sep 21 10:02:13 2011 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Sep 21 10:02:13 2011 +0200 |
tree | 6f8da22845a400ec63f7f623ac26206a93812bb8 | |
parent | 5a3a76e6c35fa236fc234d17a98edeb41d49130f [diff] |
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>