WSL2-Linux-Kernel/fs/ext2
Toshi Kani 9e796c9db9 ext2, dax: set ext2_dax_aops for dax files
Sync syscall to DAX file needs to flush processor cache, but it
currently does not flush to existing DAX files.  This is because
'ext2_da_aops' is set to address_space_operations of existing DAX
files, instead of 'ext2_dax_aops', since S_DAX flag is set after
ext2_set_aops() in the open path.

Similar to ext4, change ext2_iget() to initialize i_flags before
ext2_set_aops().

Fixes: fb094c9074 ("ext2, dax: introduce ext2_dax_aops")
Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Suggested-by: Jan Kara <jack@suse.cz>
Cc: Jan Kara <jack@suse.cz>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
2018-09-19 15:03:04 +02:00
..
Kconfig
Makefile
acl.c
acl.h
balloc.c
dir.c
ext2.h ext2: add warning when specifying nocheck option 2018-06-20 11:04:26 +02:00
file.c dax: remove VM_MIXEDMAP for fsdax and device dax 2018-08-17 16:20:27 -07:00
ialloc.c ext2: make sure that partially set up inodes won't be returned by ext2_iget() 2018-08-03 16:03:31 -04:00
inode.c ext2, dax: set ext2_dax_aops for dax files 2018-09-19 15:03:04 +02:00
ioctl.c
namei.c ext2: make sure that partially set up inodes won't be returned by ext2_iget() 2018-08-03 16:03:31 -04:00
super.c ext2: use ktime_get_real_seconds for timestamps 2018-06-27 13:59:18 +02:00
symlink.c
xattr.c
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c