diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-07 18:37:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 19:35:57 -0400 |
commit | ed6d7c8e578331cad594ee70d60e2e146b5dce7b (patch) | |
tree | 32fbc45adaa7ab3c204c6b8b7301fc3a1ee813a7 /mm/memory.c | |
parent | 57e68e9cd65b4b8eb4045a1e0d0746458502554c (diff) |
mm: remove unused arg of set_page_dirty_balance()
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>
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 854e4027719f..d0f0bef3be48 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -2782,7 +2782,7 @@ reuse: | |||
2782 | */ | 2782 | */ |
2783 | if (!page_mkwrite) { | 2783 | if (!page_mkwrite) { |
2784 | wait_on_page_locked(dirty_page); | 2784 | wait_on_page_locked(dirty_page); |
2785 | set_page_dirty_balance(dirty_page, page_mkwrite); | 2785 | set_page_dirty_balance(dirty_page); |
2786 | /* file_update_time outside page_lock */ | 2786 | /* file_update_time outside page_lock */ |
2787 | if (vma->vm_file) | 2787 | if (vma->vm_file) |
2788 | file_update_time(vma->vm_file); | 2788 | file_update_time(vma->vm_file); |