diff options
author | Davidlohr Bueso | 2011-04-09 02:20:49 +0200 |
---|---|---|
committer | Karel Zak | 2011-04-12 13:08:52 +0200 |
commit | ba326929706ec4dc8ab8bc0a09868bcd6fd6d75f (patch) | |
tree | 645e388dc4cfa9867db938b5fdf038718964ea70 /mount | |
parent | hexdump: don't include err.h directly (diff) | |
download | kernel-qcow2-util-linux-ba326929706ec4dc8ab8bc0a09868bcd6fd6d75f.tar.gz kernel-qcow2-util-linux-ba326929706ec4dc8ab8bc0a09868bcd6fd6d75f.tar.xz kernel-qcow2-util-linux-ba326929706ec4dc8ab8bc0a09868bcd6fd6d75f.zip |
blkdev: add blkdev_is_misaligned()
This functions returns the status of the device's alignment. It will
be 0 when aligned, otherwise return the offset.
[kzak@redhat.com: - returns 0 if the ioctl failed]
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount')
0 files changed, 0 insertions, 0 deletions