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 | 2 --
1 file changed, 2 deletions(-)
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2041,8 +2041,6 @@ static int handle_mount_opt(struct super
"both data=journal and dax");
return -1;
}
- ext4_msg(sb, KERN_WARNING,
- "DAX enabled. Warning: EXPERIMENTAL, use at your own risk");
sbi->s_mount_opt |= EXT4_MOUNT_DAX_ALWAYS;
sbi->s_mount_opt2 &= ~EXT4_MOUNT2_DAX_NEVER;
break;