diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-06-26 15:21:28 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-06-26 15:21:28 -0400 |
commit | 8cec4acdc03a449e8b193948ebce22fe4ad21324 (patch) | |
tree | 73c064a225d96a418eeb08094da16dc75953b3a4 /debugfs | |
parent | 74430052bc5b3fffff3330f054849ca829fe24dc (diff) | |
download | e2fsprogs-8cec4acdc03a449e8b193948ebce22fe4ad21324.tar.gz |
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>
Diffstat (limited to 'debugfs')
-rw-r--r-- | debugfs/debugfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index fe859d45..0b04508e 100644 --- a/debugfs/debugfs.c +++ b/debugfs/debugfs.c @@ -55,6 +55,7 @@ int sci_idx; ext2_filsys current_fs; quota_ctx_t current_qctx; ext2_ino_t root, cwd; +int no_copy_xattrs; static int debugfs_setup_tdb(const char *device_name, char *undo_file, io_manager *io_ptr) |