]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
mke2fs: don't print warnings about dax to stderr
authorDarrick J. Wong <djwong@kernel.org>
Thu, 31 Jul 2025 00:51:12 +0000 (17:51 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 21 Aug 2025 00:00:54 +0000 (17:00 -0700)
commit53136b205486590aa035a02d7aaab63f12cfbc22
tree3557e07312d44d0d8d34e88bde14bdce2e2eea11
parenta5da316e5b54e12da000c60191c6220692c00f0f
mke2fs: don't print warnings about dax to stderr

mke2fs prints a warning to standard error if the target device supports
fsdax but the fs block size doesn't match the page size.  This isn't an
error since we don't abort the format and the filesystem will work just
fine if the user doesn't care about fsdax.

Therefore, print the warning to stdout, not stderr.

Cc: <linux-ext4@vger.kernel.org> # v1.45.7
Fixes: f4979dd566acc4 ("mke2fs: Warn if fs block size is incompatible with DAX")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
misc/mke2fs.c