Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8a9c5944 authored by Phillip Susi's avatar Phillip Susi Committed by Jens Axboe
Browse files

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: default avatarPhillip Susi <psusi@cfl.rr.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Ayan George <ayan@ayan.net>
Signed-off-by: default avatarAndrew Morton <akpm@google.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5a3a76e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment