summaryrefslogtreecommitdiffstats
path: root/sys-utils/blkdiscard.c
diff options
context:
space:
mode:
authorKarel Zak2013-08-05 16:03:15 +0200
committerKarel Zak2013-08-05 16:08:34 +0200
commit21ce3f3a4ec1a7cf97379aa4157cecc657cb814e (patch)
tree932a42350976bf7403d558a531a274877522b8f5 /sys-utils/blkdiscard.c
parentlibmount: be robust when work with loopdev backing file paths (diff)
downloadkernel-qcow2-util-linux-21ce3f3a4ec1a7cf97379aa4157cecc657cb814e.tar.gz
kernel-qcow2-util-linux-21ce3f3a4ec1a7cf97379aa4157cecc657cb814e.tar.xz
kernel-qcow2-util-linux-21ce3f3a4ec1a7cf97379aa4157cecc657cb814e.zip
losetup: fix loop device name usage
The code is not paranoid enough, loopcxt_set_device() only set the device name to loopdev struct, but it does not check if the device really exists. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/blkdiscard.c')
0 files changed, 0 insertions, 0 deletions