mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
fs: kill 'nr_pages' argument from wakeup_flusher_threads()
Everybody is passing in 0 now, let's get rid of the argument. Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
bc48f001de
commit
9ba4b2dfaf
4 changed files with 7 additions and 8 deletions
|
|
@ -108,7 +108,7 @@ SYSCALL_DEFINE0(sync)
|
|||
{
|
||||
int nowait = 0, wait = 1;
|
||||
|
||||
wakeup_flusher_threads(0, WB_REASON_SYNC);
|
||||
wakeup_flusher_threads(WB_REASON_SYNC);
|
||||
iterate_supers(sync_inodes_one_sb, NULL);
|
||||
iterate_supers(sync_fs_one_sb, &nowait);
|
||||
iterate_supers(sync_fs_one_sb, &wait);
|
||||
|
|
|
|||
Loading…
Reference in a new issue