]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ext4: Narrow scope of DAX check in setflags
authorIra Weiny <ira.weiny@intel.com>
Thu, 28 May 2020 14:59:55 +0000 (07:59 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 29 May 2020 02:09:46 +0000 (22:09 -0400)
commit81bcf0b5f46e3ca095453f4f6fbb2c0a1d695e82
treea0e65ca2f414496337ade702cfbf813e86838602
parentf163640886d34f39fd5284dd6c59aa9c20924bf3
fs/ext4: Narrow scope of DAX check in setflags

When preventing DAX and journaling on an inode.  Use the effective DAX
check rather than the mount option.

This will be required to support per inode DAX flags.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20200528150003.828793-2-ira.weiny@intel.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ioctl.c