]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: simplify xfs_dax_fault
authorChristoph Hellwig <hch@lst.de>
Sun, 23 Jun 2024 05:44:28 +0000 (07:44 +0200)
committerChandan Babu R <chandanbabu@kernel.org>
Mon, 1 Jul 2024 04:02:29 +0000 (09:32 +0530)
commit9092b1de35a45ec7291156382db7a7ee13bdbb27
tree0e4d4b9d0099db6a7899c7d60909f8ae58e3ec03
parent29bc0dd0a2f6d738fd339826af57cd17f7a39bd9
xfs: simplify xfs_dax_fault

Replace the separate stub with an IS_ENABLED check, and take the call to
dax_finish_sync_fault into xfs_dax_fault instead of leaving it in the
caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/xfs_file.c