projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
f2fs: handle error from f2fs_iget_nowait
[deliverable/linux.git]
/
fs
/
f2fs
/
recovery.c
diff --git
a/fs/f2fs/recovery.c
b/fs/f2fs/recovery.c
index b07e9b6ef376643e509fa31329765665680600d3..207e2c865c7e12c545cffbe5e801380d2ff676fa 100644
(file)
--- a/
fs/f2fs/recovery.c
+++ b/
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);
}
This page took
0.030057 seconds
and
5
git commands to generate.