diff options
| author | Eric Biggers <[email protected]> | 2022-11-06 14:48:36 -0800 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-12-08 21:49:24 -0500 |
| commit | 4c0d5778385cb3618ff26a561ce41de2b7d9de70 (patch) | |
| tree | e0b19c2cd3051719842588445a2f8cedd4076921 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 0fbcb5251fc81b58969b272c4fb7374a7b922e3e (diff) | |
ext4: don't set up encryption key during jbd2 transaction
Commit a80f7fcf1867 ("ext4: fixup ext4_fc_track_* functions' signature")
extended the scope of the transaction in ext4_unlink() too far, making
it include the call to ext4_find_entry(). However, ext4_find_entry()
can deadlock when called from within a transaction because it may need
to set up the directory's encryption key.
Fix this by restoring the transaction to its original scope.
Reported-by: [email protected]
Fixes: a80f7fcf1867 ("ext4: fixup ext4_fc_track_* functions' signature")
Cc: <[email protected]> # v5.10+
Signed-off-by: Eric Biggers <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions