]> git.baikalelectronics.ru Git - kernel.git/commit
ext2, dax: introduce ext2_dax_aops
authorDan Williams <dan.j.williams@intel.com>
Thu, 21 Dec 2017 20:25:11 +0000 (12:25 -0800)
committerDan Williams <dan.j.williams@intel.com>
Tue, 3 Apr 2018 12:41:05 +0000 (05:41 -0700)
commit17f88749024e503fa8a991dcd0448e3c4128c656
tree332b11f81eb36df6ca73a11d00b1f3f2a2928e8d
parent9cfc944f2bb9a0ac4151119dca34d4e463d30d19
ext2, dax: introduce ext2_dax_aops

In preparation for the dax implementation to start associating dax pages
to inodes via page->mapping, we need to provide a 'struct
address_space_operations' instance for dax. Otherwise, direct-I/O
triggers incorrect page cache assumptions and warnings.

Reviewed-by: Jan Kara <jack@suse.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/ext2/ext2.h
fs/ext2/inode.c
fs/ext2/namei.c