summaryrefslogtreecommitdiff
path: root/include/linux/iomap.h
diff options
context:
space:
mode:
authorShiyang Ruan <ruansy.fnst@fujitsu.com>2021-08-10 18:33:15 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-08-16 21:26:33 -0700
commitc2436190e492b243235262fc080a2c3189021be9 (patch)
treeb834281f6c595bd5885ded6c6ea80f91ba7e2aaa /include/linux/iomap.h
parent55f81639a7152848f204f9af3f9b1a14a5944be1 (diff)
downloadlwn-c2436190e492b243235262fc080a2c3189021be9.tar.gz
lwn-c2436190e492b243235262fc080a2c3189021be9.zip
fsdax: factor out a dax_fault_actor() helper
The core logic in the two dax page fault functions is similar. So, move the logic into a common helper function. Also, to facilitate the addition of new features, such as CoW, switch-case is no longer used to handle different iomap types. Signed-off-by: Shiyang Ruan <ruansy.fnst@fujitsu.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'include/linux/iomap.h')
0 files changed, 0 insertions, 0 deletions