diff options
author | Jan Kara <[email protected]> | 2021-10-07 17:53:36 +0200 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2022-01-10 13:25:55 -0500 |
commit | 4013d47a5307fdb5c13370b5392498b00fedd274 (patch) | |
tree | c19a4f3b10c3c52a2056af076c0f2928a443ee92 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 15fc69bbbbbc8c72e5f6cc4e1be0f51283c5448e (diff) |
ext4: make sure to reset inode lockdep class when quota enabling fails
When we succeed in enabling some quota type but fail to enable another
one with quota feature, we correctly disable all enabled quota types.
However we forget to reset i_data_sem lockdep class. When the inode gets
freed and reused, it will inherit this lockdep class (i_data_sem is
initialized only when a slab is created) and thus eventually lockdep
barfs about possible deadlocks.
Reported-and-tested-by: [email protected]
Signed-off-by: Jan Kara <[email protected]>
Cc: [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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions