projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f44c776
)
block, dax: remove dead code in blkdev_writepages()
author
Dan Williams
<
[email protected]
>
Sun, 11 Mar 2018 19:03:08 +0000
(12:03 -0700)
committer
Dan Williams
<
[email protected]
>
Fri, 30 Mar 2018 18:34:55 +0000
(11:34 -0700)
Block device inodes never have S_DAX set, so kill the check for DAX and
diversion to dax_writeback_mapping_range().
Cc: Jeff Moyer <
[email protected]
>
Cc: Ross Zwisler <
[email protected]
>
Cc: Matthew Wilcox <
[email protected]
>
Cc: Dave Chinner <
[email protected]
>
Reviewed-by: Christoph Hellwig <
[email protected]
>
Reviewed-by: Jan Kara <
[email protected]
>
Signed-off-by: Dan Williams <
[email protected]
>
fs/block_dev.c
patch
|
blob
|
history
diff --git
a/fs/block_dev.c
b/fs/block_dev.c
index fe09ef9c21f349a55d31261b5dd416b1bde2a3aa..846ee2d31781ba98f56d4c5f5c1b7e3e5108ebd7 100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-1946,11
+1946,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);
}