summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorKarel Zak2012-06-06 11:03:23 +0200
committerKarel Zak2012-06-06 11:03:23 +0200
commitdf68ccd8b8354a84e57469a498997ab50aaa5dd3 (patch)
tree695305893795902ada81b9edb6e432695725ee9d /m4
parentfdisk: fix compiler warning [-Wunused-variable] (diff)
downloadkernel-qcow2-util-linux-df68ccd8b8354a84e57469a498997ab50aaa5dd3.tar.gz
kernel-qcow2-util-linux-df68ccd8b8354a84e57469a498997ab50aaa5dd3.tar.xz
kernel-qcow2-util-linux-df68ccd8b8354a84e57469a498997ab50aaa5dd3.zip
fdisk: fix io_size usage in new API
properly implemented fdisk_dev_has_topology() requires optimal I/O size to detect that the device provides topology. Unfortunately, currently used cxt->io_size maybe overwritten in __discover_topology() to min_io_size. This patch introduces cxt->optimal_io_size and keeps it independent on cxt->io_size. The cxt->io_size is I/O size used by fdisk for alignment calculation. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions