linux/Documentation/filesystems/ext4
Ira Weiny 6c0d077ff8 fs/ext4: Disallow verity if inode is DAX
Verity and DAX are incompatible.  Changing the DAX mode due to a verity
flag change is wrong without a corresponding address_space_operations
update.

Make the 2 options mutually exclusive by returning an error if DAX was
set first.

(Setting DAX is already disabled if Verity is set first.)

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>

Link: https://lore.kernel.org/r/20200528150003.828793-3-ira.weiny@intel.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2020-05-28 22:09:47 -04:00
..
about.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
allocators.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
attributes.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
bigalloc.rst ext4: add missing bigalloc documentation. 2019-09-07 11:56:47 -04:00
bitmaps.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
blockgroup.rst ext4: documentation fixes 2019-08-22 23:18:33 -04:00
blockmap.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
blocks.rst ext4: documentation fixes 2019-08-22 23:18:33 -04:00
checksums.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
directory.rst ext4: documentation fixes 2019-08-22 23:18:33 -04:00
dynamic.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
eainode.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
globals.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
group_descr.rst ext4: documentation fixes 2019-08-22 23:18:33 -04:00
ifork.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
index.rst docs: filesystems: Remove uneeded .rst extension on toctables 2019-06-26 16:08:22 -06:00
inlinedata.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
inodes.rst Added new ext4 debugging ioctls to allow userspace to get information 2019-09-21 13:37:39 -07:00
journal.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
mmp.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
overview.rst ext4: update on-disk format documentation for fs-verity 2019-08-12 19:33:51 -07:00
special_inodes.rst docs: promote the ext4 data structures book to top level 2018-10-05 19:20:08 -04:00
super.rst Added new ext4 debugging ioctls to allow userspace to get information 2019-09-21 13:37:39 -07:00
verity.rst fs/ext4: Disallow verity if inode is DAX 2020-05-28 22:09:47 -04:00