diff options
author | Yi Li <[email protected]> | 2020-12-30 11:38:27 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2021-01-15 14:39:14 -0500 |
commit | 23dd561ad9eae02b4d51bb502fe4e1a0666e9567 (patch) | |
tree | 5bf0267faaa947c6c24f7ef266801a340e318b20 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5a3b590d4b2db187faa6f06adc9a53d6199fb1f9 (diff) |
ext4: use IS_ERR instead of IS_ERR_OR_NULL and set inode null when IS_ERR
1: ext4_iget/ext4_find_extent never returns NULL, use IS_ERR
instead of IS_ERR_OR_NULL to fix this.
2: ext4_fc_replay_inode should set the inode to NULL when IS_ERR.
and go to call iput properly.
Fixes: 8016e29f4362 ("ext4: fast commit recovery path")
Signed-off-by: Yi Li <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions