aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2023-05-23 23:49:48 -0400
committerTheodore Ts'o <[email protected]>2023-05-28 14:18:03 -0400
commitb3e6bcb94590dea45396b9481e47b809b1be4afa (patch)
treefc4ee8b7fd26e3e0df1dd673fd3b4f53739d3e62 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent7877cb91f1081754a1487c144d85dc0d2e2e7fc4 (diff)
ext4: add EA_INODE checking to ext4_iget()
Add a new flag, EXT4_IGET_EA_INODE which indicates whether the inode is expected to have the EA_INODE flag or not. If the flag is not set/clear as expected, then fail the iget() operation and mark the file system as corrupted. This commit also makes the ext4_iget() always perform the is_bad_inode() check even when the inode is already inode cache. This allows us to remove the is_bad_inode() check from the callers of ext4_iget() in the ea_inode code. Reported-by: [email protected] Reported-by: [email protected] Reported-by: [email protected] Cc: [email protected] Signed-off-by: Theodore Ts'o <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions