aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-04-07 15:37:51 -0700
committerBen Hutchings <ben@decadent.org.uk>2015-02-20 00:49:35 +0000
commit57b31943b128c88c591005f122005c033e5d6409 (patch)
treea2a085e886a13f1210eb14057ff40aaa1132910d /include
parent1d61507ce4a5642f3c5de0e14227fd182985613a (diff)
downloadkernel_samsung_smdk4412-57b31943b128c88c591005f122005c033e5d6409.zip
kernel_samsung_smdk4412-57b31943b128c88c591005f122005c033e5d6409.tar.gz
kernel_samsung_smdk4412-57b31943b128c88c591005f122005c033e5d6409.tar.bz2
mm: remove unused arg of set_page_dirty_balance()
commit ed6d7c8e578331cad594ee70d60e2e146b5dce7b upstream. There's only one caller of set_page_dirty_balance() and that will call it with page_mkwrite == 0. The page_mkwrite argument was unused since commit b827e496c893 "mm: close page_mkwrite races". Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/writeback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index 7e85d45..bd214ae 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -190,7 +190,7 @@ int write_cache_pages(struct address_space *mapping,
struct writeback_control *wbc, writepage_t writepage,
void *data);
int do_writepages(struct address_space *mapping, struct writeback_control *wbc);
-void set_page_dirty_balance(struct page *page, int page_mkwrite);
+void set_page_dirty_balance(struct page *page);
void writeback_set_ratelimit(void);
void tag_pages_for_writeback(struct address_space *mapping,
pgoff_t start, pgoff_t end);