summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/blkidP.h
diff options
context:
space:
mode:
authorKarel Zak2010-04-19 10:51:37 +0200
committerKarel Zak2010-04-19 10:51:37 +0200
commit601fb1c11e8b93c3b0e7488a73b4e97df12c676d (patch)
tree0548baf71a42f60aff42a0a6463c4242a4073c3b /shlibs/blkid/src/blkidP.h
parentblkid: add \n to the "-o udev" output when probe more devices (diff)
downloadkernel-qcow2-util-linux-601fb1c11e8b93c3b0e7488a73b4e97df12c676d.tar.gz
kernel-qcow2-util-linux-601fb1c11e8b93c3b0e7488a73b4e97df12c676d.tar.xz
kernel-qcow2-util-linux-601fb1c11e8b93c3b0e7488a73b4e97df12c676d.zip
libblkid: export functions to get whole-disk devno
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/blkidP.h')
-rw-r--r--shlibs/blkid/src/blkidP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h
index b15c7f9b7..c37f73062 100644
--- a/shlibs/blkid/src/blkidP.h
+++ b/shlibs/blkid/src/blkidP.h
@@ -191,6 +191,7 @@ struct blkid_struct_probe
blkid_loff_t size; /* end of data on the device */
dev_t devno; /* device number (st.st_rdev) */
+ dev_t disk_devno; /* devno of the whole-disk or 0 */
unsigned int blkssz; /* sector size (BLKSSZGET ioctl) */
mode_t mode; /* struct stat.sb_mode */