author: Linus Torvalds <torvalds@linux-foundation.org> 2017-11-14 15:32:19 -0800
committer: Linus Torvalds <torvalds@linux-foundation.org> 2017-11-14 15:32:19 -0800
commit: e2c5923c349c1738fe8fda980874d93f6fb2e5b6
parent: abc36be236358162202e86ad88616ff95a755101
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/sync.c b/fs/sync.c
index 83ac79a960dd..6e0a2cbaf6de 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -109,7 +109,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);