]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: Detect external XFS log device
authorEric Sandeen <sandeen@redhat.com>
Mon, 5 Aug 2013 23:09:35 +0000 (18:09 -0500)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Sep 2013 08:29:33 +0000 (10:29 +0200)
commit0a2002551d65f73576cb4514fb052765d46cc8c5
treee71af0f69682eaff4963200d6acece8ce603ffce
parent60f25deae7714a4c67fbabc3b2b0c78bf8dc035e
libblkid: Detect external XFS log device

Detects external XFS log devices with a minimum size of 10MB.  It's possible to
craft a smaller log, but that would be very unlikely; it'd require a small XFS
filesystem and an intentionally small log, which would defeat the performance
goal of an external log in the first place.

[kzak@redhat.com: - use UUID_LOG variable name for the log uuid]

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/superblocks.c
libblkid/src/superblocks/superblocks.h
libblkid/src/superblocks/xfs.c