diff options
author | 2020-12-30 11:38:27 +0800 | |
---|---|---|
committer | 2021-01-15 14:39:14 -0500 | |
commit | 23dd561ad9eae02b4d51bb502fe4e1a0666e9567 (patch) | |
tree | 5bf0267faaa947c6c24f7ef266801a340e318b20 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: don't leak old mountpoint samples (diff) | |
download | wireguard-linux-23dd561ad9eae02b4d51bb502fe4e1a0666e9567.tar.xz wireguard-linux-23dd561ad9eae02b4d51bb502fe4e1a0666e9567.zip |
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 <yili@winhong.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20201230033827.3996064-1-yili@winhong.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions