summaryrefslogtreecommitdiff
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorPhillip Susi <psusi@ubuntu.com>2013-03-22 18:21:53 (GMT)
committerJens Axboe <axboe@kernel.dk>2013-03-22 18:21:53 (GMT)
commit8761a3dc1f07b163414e2215a2cadbb4cfe2a107 (patch)
treeebe3db5af9e706a3d3c5aaf4ba2b74459b02572b /drivers/block/cciss.c
parent183cfb5720dfc393641b87710ce78561af3db6cd (diff)
downloadlinux-8761a3dc1f07b163414e2215a2cadbb4cfe2a107.tar.xz
loop: cleanup partitions when detaching loop device
Any partitions added by user space to the loop device were being left in place after detaching the loop device. This was because the detach path issued a BLKRRPART to clean up partitions if LO_FLAGS_PARTSCAN was set, meaning that the partitions were auto scanned on attach. Replace this BLKRRPART with code that unconditionally cleans up partitions on detach instead. Signed-off-by: Phillip Susi <psusi@ubuntu.com> Modified by Jens to export delete_partition(). Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/cciss.c')
0 files changed, 0 insertions, 0 deletions