diff options
author | Jan Kara <[email protected]> | 2017-05-21 22:31:23 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2017-05-21 22:31:23 -0400 |
commit | 964edf66bf9ab70cb387b27946c0aef7b94c4d1b (patch) | |
tree | 1c7bc7711f0199abf6ccf5f87a9c45fbc1f261a8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 08332893e37af6ae779367e78e444f8f9571511d (diff) |
ext4: clear lockdep subtype for quota files on quota off
Quota files have special ranking of i_data_sem lock. We inform lockdep
about it when turning on quotas however when turning quotas off, we
don't clear the lockdep subclass from i_data_sem lock and thus when the
inode gets later reused for a normal file or directory, lockdep gets
confused and complains about possible deadlocks. Fix the problem by
resetting lockdep subclass of i_data_sem on quota off.
Cc: [email protected]
Fixes: daf647d2dd58cec59570d7698a45b98e580f2076
Reported-and-tested-by: Ross Zwisler <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions