diff --git a/[refs] b/[refs] index bf1f35290c96..2c8c03f45887 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 029cd28c1f739bbfc5105035696d5f1f4e45d161 +refs/heads/master: 06025f4df88e9e41f4ebcf6b4c3df30661332bc9 diff --git a/trunk/fs/f2fs/recovery.c b/trunk/fs/f2fs/recovery.c index b07e9b6ef376..207e2c865c7e 100644 --- a/trunk/fs/f2fs/recovery.c +++ b/trunk/fs/f2fs/recovery.c @@ -228,6 +228,9 @@ static void check_index_in_prev_nodes(struct f2fs_sb_info *sbi, /* Deallocate previous index in the node page */ inode = f2fs_iget_nowait(sbi->sb, ino); + if (IS_ERR(inode)) + return; + truncate_hole(inode, bidx, bidx + 1); iput(inode); }