diff options
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 30d9383c87c3..39fadfad86f7 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -410,14 +410,14 @@ sync_sb_inodes(struct super_block *sb, struct writeback_control *wbc) | |||
410 | wbc->encountered_congestion = 1; | 410 | wbc->encountered_congestion = 1; |
411 | if (!sb_is_blkdev_sb(sb)) | 411 | if (!sb_is_blkdev_sb(sb)) |
412 | break; /* Skip a congested fs */ | 412 | break; /* Skip a congested fs */ |
413 | list_move(&inode->i_list, &sb->s_dirty); | 413 | redirty_head(inode); |
414 | continue; /* Skip a congested blockdev */ | 414 | continue; /* Skip a congested blockdev */ |
415 | } | 415 | } |
416 | 416 | ||
417 | if (wbc->bdi && bdi != wbc->bdi) { | 417 | if (wbc->bdi && bdi != wbc->bdi) { |
418 | if (!sb_is_blkdev_sb(sb)) | 418 | if (!sb_is_blkdev_sb(sb)) |
419 | break; /* fs has the wrong queue */ | 419 | break; /* fs has the wrong queue */ |
420 | list_move(&inode->i_list, &sb->s_dirty); | 420 | redirty_head(inode); |
421 | continue; /* blockdev has wrong queue */ | 421 | continue; /* blockdev has wrong queue */ |
422 | } | 422 | } |
423 | 423 | ||