diff options
author | Theodore Ts'o <tytso@mit.edu> | 2023-05-23 23:49:48 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-05-28 14:18:03 -0400 |
commit | b3e6bcb94590dea45396b9481e47b809b1be4afa (patch) | |
tree | fc4ee8b7fd26e3e0df1dd673fd3b4f53739d3e62 /tools/net/ynl/generated/netdev-user.c | |
parent | 7877cb91f1081754a1487c144d85dc0d2e2e7fc4 (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: syzbot+cbb68193bdb95af4340a@syzkaller.appspotmail.com
Reported-by: syzbot+62120febbd1ee3c3c860@syzkaller.appspotmail.com
Reported-by: syzbot+edce54daffee36421b4c@syzkaller.appspotmail.com
Cc: stable@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230524034951.779531-2-tytso@mit.edu
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions