]> git.ipfire.org Git - people/ms/linux.git/commit - fs/ext2/inode.c
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)
commitfb094c90748fbeba1063927eeb751add147b35b9
tree332b11f81eb36df6ca73a11d00b1f3f2a2928e8d
parent5f0663bb4a64f588f0a2dd6d1be68d40f9af0086
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