diff options
author | Theodore Ts'o <[email protected]> | 2023-05-23 23:49:51 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-05-30 15:33:57 -0400 |
commit | aff3bea95388299eec63440389b4545c8041b357 (patch) | |
tree | 669708b2e170f2e9097040fcf334c17c5b6bc010 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 2bc7e7c1a3bc9bd0cbf0f71006f6fe7ef24a00c2 (diff) |
ext4: add lockdep annotations for i_data_sem for ea_inode's
Treat i_data_sem for ea_inodes as being in their own lockdep class to
avoid lockdep complaints about ext4_setattr's use of inode_lock() on
normal inodes potentially causing lock ordering with i_data_sem on
ea_inodes in ext4_xattr_inode_write(). However, ea_inodes will be
operated on by ext4_setattr(), so this isn't a problem.
Cc: [email protected]
Link: https://syzkaller.appspot.com/bug?extid=298c5d8fb4a128bc27b0
Reported-by: [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 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions