aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r--fs/fs-writeback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index e3fe9918faaf..f81f9e71871e 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -538,7 +538,8 @@ void generic_sync_sb_inodes(struct super_block *sb,
538 list_for_each_entry(inode, &sb->s_inodes, i_sb_list) { 538 list_for_each_entry(inode, &sb->s_inodes, i_sb_list) {
539 struct address_space *mapping; 539 struct address_space *mapping;
540 540
541 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) 541 if (inode->i_state &
542 (I_FREEING|I_CLEAR|I_WILL_FREE|I_NEW))
542 continue; 543 continue;
543 mapping = inode->i_mapping; 544 mapping = inode->i_mapping;
544 if (mapping->nrpages == 0) 545 if (mapping->nrpages == 0)