diff options
author | Karel Zak | 2013-08-05 16:03:15 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-05 16:08:34 +0200 |
commit | 21ce3f3a4ec1a7cf97379aa4157cecc657cb814e (patch) | |
tree | 932a42350976bf7403d558a531a274877522b8f5 /sys-utils/blkdiscard.c | |
parent | libmount: be robust when work with loopdev backing file paths (diff) | |
download | kernel-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