]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: fix limit for OCFS check
authorKarel Zak <kzak@redhat.com>
Mon, 30 Jan 2012 12:00:55 +0000 (13:00 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 30 Jan 2012 12:06:21 +0000 (13:06 +0100)
commit6baa15039873aac5513abde621f60c63537b88e9
tree8cd91a24624fa4fea9d5f5921942e225102d8072
parentfa6afe8ba893ea2cf9fe7fec468d213107f60377
libblkid: fix limit for OCFS check

Rogier Goossens wrote:

 While testing KDE partitionmanager, I discovered that blkid did not
 detect the test OCFS2 filesystem I created. After some investigation,
 it appeared that it will assume the filesystem cannot be OCFS2 if
 smaller than 108M. However, mkfs.ocfs2 from ocfs2-tools (1.6.3) will
 happily create filesystems that are much smaller, only failing below
 approx. 15000 1k blocks, and below approx. 6000 4k blocks.

Reported-by: Rogier Goossens <goossens.rogier@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/ocfs.c