Whamcloud - gitweb
tune2fs,resize2fs: special case HURD only when testing s_creator_os
authorTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jun 2016 15:47:40 +0000 (11:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jun 2016 15:47:40 +0000 (11:47 -0400)
commit81f965a04df5053d2c4bf6ad33b97c4fdc7bfb90
tree1f2b40ad47f437cffee476a3fa88fd78ac4ef615
parent43b7b054cd3165645c9b22977247674f9465e0e1
tune2fs,resize2fs: special case HURD only when testing s_creator_os

The s_creator_os field was a mistake, given how Hurd has been
ab(using) certain file system fields.  We should skip support for
certain advanced features (64-bit support, metadata checksums) for
file systems created on the Hurd OS only, instead of only supporting
them for file systems created on Linux.  This fixes various regression
test failures for FreeBSD.

(The regression tests are probably mostly hopeless for Hurd anyway,
but given the HURD abuse's of various file system fields, the HURD is
going to have to be given second-class treatment in any case, given
what they decided to do with ext2 support, which locks them out of the
more advanced file system features, anyway.)

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c
resize/resize2fs.c