summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/superblocks/zfs.c
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/superblocks/zfs.c
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/superblocks/zfs.c')
-rw-r--r--shlibs/blkid/src/superblocks/zfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shlibs/blkid/src/superblocks/zfs.c b/shlibs/blkid/src/superblocks/zfs.c
index 2d626427f..0f5802622 100644
--- a/shlibs/blkid/src/superblocks/zfs.c
+++ b/shlibs/blkid/src/superblocks/zfs.c
@@ -54,6 +54,7 @@ const struct blkid_idinfo zfs_idinfo =
.name = "zfs",
.usage = BLKID_USAGE_FILESYSTEM,
.probefunc = probe_zfs,
+ .minsz = 64 * 1024 * 1024,
.magics =
{
{ .magic = "\0\0\x02\xf5\xb0\x07\xb1\x0c", .len = 8, .kboff = 8 },