summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/blkidP.h
diff options
context:
space:
mode:
authorKarel Zak2010-01-19 01:12:06 +0100
committerKarel Zak2010-01-19 01:12:06 +0100
commit8c2b156e5a0893a0a82af82c50205b0a78352151 (patch)
treee2a9739b28206b81f658d76d56b6ed14c9fb7e5a /shlibs/blkid/src/blkidP.h
parentlibblkid: disable read-ahead when probing device files (diff)
downloadkernel-qcow2-util-linux-8c2b156e5a0893a0a82af82c50205b0a78352151.tar.gz
kernel-qcow2-util-linux-8c2b156e5a0893a0a82af82c50205b0a78352151.tar.xz
kernel-qcow2-util-linux-8c2b156e5a0893a0a82af82c50205b0a78352151.zip
libblkid: set minimal size for jfs, reiser, swap and zfs
.. and don't probe for swap or ext. journal on tiny disks. 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 4a3ae200b..55850349a 100644
--- a/shlibs/blkid/src/blkidP.h
+++ b/shlibs/blkid/src/blkidP.h
@@ -155,6 +155,7 @@ struct blkid_idinfo
const char *name; /* fs, raid or partition table name */
int usage; /* BLKID_USAGE_* flag */
int flags; /* BLKID_IDINFO_* flags */
+ int minsz; /* minimal device size */
/* probe function */
int (*probefunc)(blkid_probe pr, const struct blkid_idmag *mag);