From: Jan Kara <jack@suse.cz>
Subject: [PATCH] ext4: Don't warn when enabling DAX
Patch-mainline: Never, SUSE specific tweak
References: bsc#1132894
Warning is scaring users and we do support ext4 with DAX. So just remove it.
Signed-off-by: Jan Kara <jack@suse.cz>
---
fs/ext4/super.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1883,9 +1883,7 @@ static int handle_mount_opt(struct super
#endif
} else if (token == Opt_dax) {
#ifdef CONFIG_FS_DAX
- ext4_msg(sb, KERN_WARNING,
- "DAX enabled. Warning: EXPERIMENTAL, use at your own risk");
- sbi->s_mount_opt |= m->mount_opt;
+ sbi->s_mount_opt |= m->mount_opt;
#else
ext4_msg(sb, KERN_INFO, "dax option not supported");
return -1;