summaryrefslogtreecommitdiffstats
path: root/sys-utils/losetup.c
diff options
context:
space:
mode:
authorKarel Zak2019-01-22 11:37:35 +0100
committerKarel Zak2019-01-22 11:37:35 +0100
commit75d239ffd89b93f79059928e436f1068f402452e (patch)
treeb6e9935ec7b9e5be8dacc39cbebd40586cadfe94 /sys-utils/losetup.c
parentlib/loopdev: differentiate between setter()s and ioctl calls (diff)
downloadkernel-qcow2-util-linux-75d239ffd89b93f79059928e436f1068f402452e.tar.gz
kernel-qcow2-util-linux-75d239ffd89b93f79059928e436f1068f402452e.tar.xz
kernel-qcow2-util-linux-75d239ffd89b93f79059928e436f1068f402452e.zip
lib/loopdev: set blocksize when create a new device
The partition scanner in kernel depends on blocksize. We need to set the blocksize before we call LOOP_SET_STATUS64 (this ioctl triggers the scanner). This patch extends the internal API to save blocksize into loopdev context to be usable later for loopcxt_setup_device(). Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/losetup.c')
0 files changed, 0 insertions, 0 deletions