]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Fix the loopback device to emit a uevent on auto release. The loopback
authorPhillip Susi <psusi@cfl.rr.com>
Sat, 16 Jul 2011 13:31:06 +0000 (23:31 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:05:16 +0000 (15:05 +1000)
commit23e2632cc815fb6cc38560805a12be586e23a8f1
treed405da26c525cb235de47d8442f18cb602d6d458
parentaf47bb8fe29d22ae870b3c5f910715db75d4a171
Fix the loopback device to emit a uevent on auto release.  The loopback
driver failed to emit the change uevent when auto releasing the device.
Fix lo_release() to pass the bdev to loop_clr_fd() so it can emit the
event.

Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Phillip Susi <psusi@cfl.rr.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/loop.c