Re: [f2fs-dev] [PATCH 1/2] f2fs: don't need to invalidate wrong node page
From: Chao Yu
Date: Thu Mar 09 2017 - 06:41:33 EST
On 2017/3/9 5:35, Jaegeuk Kim wrote:
> On 03/08, Chao Yu wrote:
>> On 2017/3/7 5:51, Jaegeuk Kim wrote:
>>> If f2fs_new_inode() is failed, the bad inode will invalidate 0'th node page
>>> during f2fs_evict_inode(), which doesn't need to do.
>> Hmm...should not allow other using of inode->i_ino in following codes of
>> f2fs_evict_inode, right?
I mean those codes below invalidate_mapping_pages(NODE_MAPPING(sbi),,)
After having a look at them, I think it's OK without any change. :)
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>