Loading fs/f2fs/checkpoint.c +8 −3 Original line number Diff line number Diff line Loading @@ -785,9 +785,11 @@ void update_dirty_page(struct inode *inode, struct page *page) !S_ISLNK(inode->i_mode)) return; if (type != FILE_INODE || test_opt(sbi, DATA_FLUSH)) { spin_lock(&sbi->inode_lock[type]); __add_dirty_inode(inode, type); spin_unlock(&sbi->inode_lock[type]); } inode_inc_dirty_pages(inode); SetPagePrivate(page); Loading @@ -803,6 +805,9 @@ void remove_dirty_inode(struct inode *inode) !S_ISLNK(inode->i_mode)) return; if (type == FILE_INODE && !test_opt(sbi, DATA_FLUSH)) return; spin_lock(&sbi->inode_lock[type]); __remove_dirty_inode(inode, type); spin_unlock(&sbi->inode_lock[type]); Loading Loading
fs/f2fs/checkpoint.c +8 −3 Original line number Diff line number Diff line Loading @@ -785,9 +785,11 @@ void update_dirty_page(struct inode *inode, struct page *page) !S_ISLNK(inode->i_mode)) return; if (type != FILE_INODE || test_opt(sbi, DATA_FLUSH)) { spin_lock(&sbi->inode_lock[type]); __add_dirty_inode(inode, type); spin_unlock(&sbi->inode_lock[type]); } inode_inc_dirty_pages(inode); SetPagePrivate(page); Loading @@ -803,6 +805,9 @@ void remove_dirty_inode(struct inode *inode) !S_ISLNK(inode->i_mode)) return; if (type == FILE_INODE && !test_opt(sbi, DATA_FLUSH)) return; spin_lock(&sbi->inode_lock[type]); __remove_dirty_inode(inode, type); spin_unlock(&sbi->inode_lock[type]); Loading