diff options
| author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2026-10-08 00:06:32 +0200 |
|---|---|---|
| committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2026-10-13 15:44:57 +0200 |
| commit | fb058ccff5799ac4eb90ee183419835d3c0072f5 (patch) | |
| tree | 5610f1ee04121e502853ecd4dfa4af34b7f73b69 /tools/lib/python | |
| parent | 4bc61b5e98d4815ce062a0f95ab0da382018e857 (diff) | |
| download | linux-next-fb058ccff5799ac4eb90ee183419835d3c0072f5.tar.gz linux-next-fb058ccff5799ac4eb90ee183419835d3c0072f5.zip | |
fs/ntfs3: take ni_lock() once in ntfs_readdir()
ntfs_readdir() took ni_lock() to load subrecords, dropped it, and then
took it again for the index walk. The double-checked pattern around
ni_load_all_mi() and the separate out_unlock label exist only because
of that split.
Take the lock once for the whole function and drop the second
acquisition, the inner re-check and the duplicate error label.
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
