diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-09-20 17:58:25 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-03 17:38:17 +0300 |
commit | 9ba4b2dfafaa711b41cc2102b0e9a529f3981218 (patch) | |
tree | 71028702d3d6affdc6af86db8528608de326ae32 /fs/sync.c | |
parent | bc48f001de12225b6430a243504aa60b5ae8a91a (diff) | |
download | linux-9ba4b2dfafaa711b41cc2102b0e9a529f3981218.tar.xz |
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 <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/sync.c')
-rw-r--r-- | fs/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sync.c b/fs/sync.c index a576aa2e6b09..09f96a18dd93 100644 --- a/fs/sync.c +++ b/fs/sync.c @@ -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); |