summaryrefslogtreecommitdiff
path: root/misc/e2fuzz.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/e2fuzz.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/e2fuzz.c')
-rw-r--r--misc/e2fuzz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/e2fuzz.c b/misc/e2fuzz.c
index 685cdbe2..1ace1df5 100644
--- a/misc/e2fuzz.c
+++ b/misc/e2fuzz.c
@@ -201,8 +201,8 @@ static int process_fs(const char *fsname)
}
/* Ensure the fs is clean and does not have errors */
- ret = ext2fs_open(fsname, EXT2_FLAG_64BITS, 0, 0, unix_io_manager,
- &fs);
+ ret = ext2fs_open(fsname, EXT2_FLAG_64BITS | EXT2_FLAG_THREADS,
+ 0, 0, unix_io_manager, &fs);
if (ret) {
fprintf(stderr, "%s: failed to open filesystem.\n",
fsname);