]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
ext4/01{2,9}: fix invalid filesystem option 'journal'
authorLuis Henriques (SUSE) <luis.henriques@linux.dev>
Mon, 1 Apr 2024 09:57:08 +0000 (10:57 +0100)
committerZorro Lang <zlang@kernel.org>
Wed, 3 Apr 2024 11:01:42 +0000 (19:01 +0800)
commite024c6f28b8bc8a507aae67e699fffb6cab1fca1
tree9295924564520689a1197e1c4e743e8643ab6788
parent8aab1f1663031cccb326ffbcb087b81bfb629df8
ext4/01{2,9}: fix invalid filesystem option 'journal'

Creating an ext4 filesystem using '-O journal' will fail with:

    Invalid filesystem option set: journal

Fix it by replacing it by '-O has_journal', which ensures the filesystem
(ext3 or ext4) is created with a journal.  While there, also redirect stderr
and stdout to the full log.

Signed-off-by: "Luis Henriques (SUSE)" <luis.henriques@linux.dev>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/ext4/012
tests/ext4/019