ext4: allow the dax flag to be set and cleared on inline directories
authorTheodore Ts'o <tytso@mit.edu>
Mon, 12 Apr 2021 21:19:00 +0000 (17:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 May 2021 12:47:38 +0000 (14:47 +0200)
commit133e83b5b3b337591b3e35e79c607fbfe82e5e44
tree495b121163b0db4b3386f9cbe232cf66fd2d8ae8
parent72447c925ea90800da153413098c796e4ba6c150
ext4: allow the dax flag to be set and cleared on inline directories

commit 4811d9929cdae4238baf5b2522247bd2f9fa7b50 upstream.

This is needed to allow generic/607 to pass for file systems with the
inline data_feature enabled, and it allows the use of file systems
where the directories use inline_data, while the files are accessed
via DAX.

Cc: stable@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/ialloc.c
fs/ext4/ioctl.c