diff options
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index c27f8d4098be..1361a4a64157 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -562,7 +562,7 @@ int write_inode_now(struct inode *inode, int sync) | |||
562 | }; | 562 | }; |
563 | 563 | ||
564 | if (!mapping_cap_writeback_dirty(inode->i_mapping)) | 564 | if (!mapping_cap_writeback_dirty(inode->i_mapping)) |
565 | return 0; | 565 | wbc.nr_to_write = 0; |
566 | 566 | ||
567 | might_sleep(); | 567 | might_sleep(); |
568 | spin_lock(&inode_lock); | 568 | spin_lock(&inode_lock); |