[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <936bf701626dfdf5b2e51186067cf5e5f5bdb282.1604948373.git.msuchanek@suse.de>
Date: Mon, 9 Nov 2020 20:10:09 +0100
From: Michal Suchanek <msuchanek@...e.de>
To: linux-xfs@...r.kernel.org, linux-ext4@...r.kernel.org
Cc: Michal Suchanek <msuchanek@...e.de>,
"Theodore Ts'o" <tytso@....edu>,
Andreas Dilger <adilger.kernel@...ger.ca>,
"Darrick J. Wong" <darrick.wong@...cle.com>,
Ira Weiny <ira.weiny@...el.com>, Jan Kara <jack@...e.cz>,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] ext4: show the dax option in mount options
ext4 accepts both dax and dax_always option but shows only dax_always.
Show both options.
Fixes: 9cb20f94afcd ("fs/ext4: Make DAX mount option a tri-state")
Signed-off-by: Michal Suchanek <msuchanek@...e.de>
---
fs/ext4/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index ef4734b40e2a..7656c519cbe6 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2647,7 +2647,7 @@ static int _ext4_show_options(struct seq_file *seq, struct super_block *sb,
if (IS_EXT2_SB(sb))
SEQ_OPTS_PUTS("dax");
else
- SEQ_OPTS_PUTS("dax=always");
+ SEQ_OPTS_PUTS("dax,dax=always");
} else if (test_opt2(sb, DAX_NEVER)) {
SEQ_OPTS_PUTS("dax=never");
} else if (test_opt2(sb, DAX_INODE)) {
--
2.26.2
Powered by blists - more mailing lists