author: Linus Torvalds <torvalds@linux-foundation.org> 2018-04-10 10:25:57 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2018-04-10 10:25:57 -0700
commit: 9f3a0941fb5efaa4d27911e251dc595034d58baa
parent: fbe173e3ffbd897b5a859020d714c0eaf4af2a1a
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 4 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index 7a506c55a993..7ec920e27065 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -1948,11 +1948,6 @@ static int blkdev_releasepage(struct page *page, gfp_t wait)
static int blkdev_writepages(struct address_space *mapping,
struct writeback_control *wbc)
{
- if (dax_mapping(mapping)) {
- struct block_device *bdev = I_BDEV(mapping->host);
-
- return dax_writeback_mapping_range(mapping, bdev, wbc);
- }
return generic_writepages(mapping, wbc);
}