|
@@ -817,7 +817,9 @@ static void __add_dirty_inode(struct inode *inode, enum inode_type type)
|
|
|
return;
|
|
|
|
|
|
set_inode_flag(inode, flag);
|
|
|
- list_add_tail(&F2FS_I(inode)->dirty_list, &sbi->inode_list[type]);
|
|
|
+ if (!f2fs_is_volatile_file(inode))
|
|
|
+ list_add_tail(&F2FS_I(inode)->dirty_list,
|
|
|
+ &sbi->inode_list[type]);
|
|
|
stat_inc_dirty_inode(sbi, type);
|
|
|
}
|
|
|
|