aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/fs-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 08b9f83b645e..f8618e0bb62b 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -354,7 +354,7 @@ sync_sb_inodes(struct super_block *sb, struct writeback_control *wbc)
354 long pages_skipped; 354 long pages_skipped;
355 355
356 if (!bdi_cap_writeback_dirty(bdi)) { 356 if (!bdi_cap_writeback_dirty(bdi)) {
357 list_move(&inode->i_list, &sb->s_dirty); 357 redirty_tail(inode);
358 if (sb_is_blkdev_sb(sb)) { 358 if (sb_is_blkdev_sb(sb)) {
359 /* 359 /*
360 * Dirty memory-backed blockdev: the ramdisk 360 * Dirty memory-backed blockdev: the ramdisk