]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tests, mke2fs: add option to suppress xattr copying to fix f_extent_htree
authorTheodore Ts'o <tytso@mit.edu>
Tue, 26 Jun 2018 19:21:28 +0000 (15:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 26 Jun 2018 19:21:28 +0000 (15:21 -0400)
commit8cec4acdc03a449e8b193948ebce22fe4ad21324
tree73c064a225d96a418eeb08094da16dc75953b3a4
parent74430052bc5b3fffff3330f054849ca829fe24dc
tests, mke2fs: add option to suppress xattr copying to fix f_extent_htree

If the developer is running with SELinux enabled on /tmp, the
f_extent_htree regression test will fail because mke2fs by default
copies the extended attributes into the newly created file system (if
a directory hierarchy is specified via the -d option).

Fix this by adding a new extended option to mke2fs, -E no_copy_xattrs
and using it in f_extent_htree's test script.

Reported-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/debugfs.c
misc/create_inode.c
misc/create_inode.h
misc/mke2fs.8.in
misc/mke2fs.c
tests/f_extent_htree/script