summaryrefslogtreecommitdiff
path: root/misc/tune2fs.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2021-01-13 16:27:23 -0800
committerTheodore Ts'o <tytso@mit.edu>2021-01-21 10:50:40 -0500
commit37d56864052e2d4c596036d505e8a4fc7af49c4b (patch)
tree6c035aab82a7da8e40b39a95f3e826f67ae58404 /misc/tune2fs.c
parente2e58d3128042f0b1aa9783d1e1c28816fa284a2 (diff)
downloade2fsprogs-37d56864052e2d4c596036d505e8a4fc7af49c4b.tar.gz
Enable threaded support for e2fsprogs' applications.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'misc/tune2fs.c')
-rw-r--r--misc/tune2fs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/tune2fs.c b/misc/tune2fs.c
index f942c698..e5186fe0 100644
--- a/misc/tune2fs.c
+++ b/misc/tune2fs.c
@@ -2950,7 +2950,8 @@ retry_open:
if ((open_flag & EXT2_FLAG_RW) == 0 || f_flag)
open_flag |= EXT2_FLAG_SKIP_MMP;
- open_flag |= EXT2_FLAG_64BITS | EXT2_FLAG_JOURNAL_DEV_OK;
+ open_flag |= EXT2_FLAG_64BITS | EXT2_FLAG_THREADS |
+ EXT2_FLAG_JOURNAL_DEV_OK;
/* keep the filesystem struct around to dump MMP data */
open_flag |= EXT2_FLAG_NOFREE_ON_ERROR;