writeback.h: Removed duplicated declaration of tag_pages_for_writeback()
Subsystems (2)
PATCH 1/1 writeback.h: Removed duplicated declaration of tag_pages_for_writeback()
There are two commits introducing the same declaration, 92c09c041f15 ("mm: declare some external symbols") and 5b41d92437f1 ("ext4: implement writeback livelock avoidance using page tagging"), they are all introducing declaration for tag_pages_for_writeback(), just lines apart.
One declaration is enough.
Signed-off-by Qu Wenruo <[email protected]>
--- include/linux/writeback.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/writeback.h +0 -2
@@ -371,8 +371,6 @@ int write_cache_pages(struct address_space *mapping, void *data);int do_writepages (struct address_space *mapping,struct writeback_control *wbc);void writeback_set_ratelimit (void ); -void tag_pages_for_writeback (struct address_space *mapping, -pgoff_t start,pgoff_t end);void account_page_redirty (struct page *page);
Signature · 1 line
2.20.1
Quoted 9 lines · Qu Wenruo
There are two commits introducing the same declaration,
92c09c041f15("mm: declare some external symbols") and5b41d92437f1("ext4: implement writeback livelock avoidance using page tagging"), they are all introducing declaration fortag_pages_for_writeback(), just lines apart.One declaration is enough.
Signed-off-by Qu Wenruo <[email protected]>
Reviewed-by Nikolay Borisov <[email protected]>
Quoted 18 lines
--- include/linux/writeback.h | 2 -- 1 file changed, 2 deletions(-)include/linux/writeback.h +0
-2@@ -371,8 +371,6 @@ int write_cache_pages(struct address_space *mapping, void *data);int do_writepages (struct address_space *mapping,struct writeback_control *wbc);void writeback_set_ratelimit (void ); -void tag_pages_for_writeback (struct address_space *mapping, -pgoff_t start,pgoff_t end);void account_page_redirty (struct page *page);