|
@@ -538,7 +538,8 @@ void generic_sync_sb_inodes(struct super_block *sb,
|
|
list_for_each_entry(inode, &sb->s_inodes, i_sb_list) {
|
|
list_for_each_entry(inode, &sb->s_inodes, i_sb_list) {
|
|
struct address_space *mapping;
|
|
struct address_space *mapping;
|
|
|
|
|
|
- if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW))
|
|
|
|
|
|
+ if (inode->i_state &
|
|
|
|
+ (I_FREEING|I_CLEAR|I_WILL_FREE|I_NEW))
|
|
continue;
|
|
continue;
|
|
mapping = inode->i_mapping;
|
|
mapping = inode->i_mapping;
|
|
if (mapping->nrpages == 0)
|
|
if (mapping->nrpages == 0)
|