diff options
author | Ira Weiny <ira.weiny@intel.com> | 2020-05-28 07:59:57 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-05-28 22:09:47 -0400 |
commit | fc626fe322f13ecdfac58cbfa6cfea797ed22623 (patch) | |
tree | 24928e2c5f5afab719d4ff2335951dcefc07936f /fs/ext4/inode.c | |
parent | 6c0d077ff8200a7b8e7131ca8e25315dec243a60 (diff) | |
download | linux-fc626fe322f13ecdfac58cbfa6cfea797ed22623.tar.gz linux-fc626fe322f13ecdfac58cbfa6cfea797ed22623.tar.bz2 linux-fc626fe322f13ecdfac58cbfa6cfea797ed22623.zip |
fs/ext4: Change EXT4_MOUNT_DAX to EXT4_MOUNT_DAX_ALWAYS
In prep for the new tri-state mount option which then introduces
EXT4_MOUNT_DAX_NEVER.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20200528150003.828793-4-ira.weiny@intel.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 2a4aae6acdcb..a10ff12194db 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -4400,7 +4400,7 @@ int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) static bool ext4_should_use_dax(struct inode *inode) { - if (!test_opt(inode->i_sb, DAX)) + if (!test_opt(inode->i_sb, DAX_ALWAYS)) return false; if (!S_ISREG(inode->i_mode)) return false; |