ext4: handle dax mount option collision
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Wed, 11 Nov 2020 18:32:09 +0000 (10:32 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 11 Nov 2020 19:23:29 +0000 (14:23 -0500)
commita72b38eebea4661d4d67b194353124e63ce48f66
treed30c89ff7764475d490aecc8ac0e17f124d8c9fa
parent52d1998d09af92d44ffce7454637dd3fd1afdc7d
ext4: handle dax mount option collision

Mount options dax=inode and dax=never collided with fast_commit and
journal checksum. Redefine the mount flags to remove the collision.

Reported-by: Murphy Zhou <jencce.kernel@gmail.com>
Fixes: 9cb20f94afcd2 ("fs/ext4: Make DAX mount option a tri-state")
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201111183209.447175-1-harshads@google.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h