linux/fs/ntfs
Ethan Tidmore ac9ccb6e75 ntfs: Fix possible deadlock
In the error path for ntfs_attr_map_whole_runlist() the lock is not
released.

Add release for lock.

Detected by Smatch:
fs/ntfs/attrib.c:5197 ntfs_non_resident_attr_collapse_range() warn:
inconsistent returns '&ni->runlist.lock'.

Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
History 2026-02-27 18:43:43 +09:00
..
aops.c ntfs: update iomap and address space operations 2026-02-19 21:50:48 +09:00
attrib.c ntfs: Fix possible deadlock 2026-02-27 18:43:43 +09:00
attrib.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
attrlist.c ntfs: update attrib operations 2026-02-19 21:50:50 +09:00
attrlist.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
bdev-io.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
bitmap.c ntfs: update runlist handling and cluster allocator 2026-02-19 21:50:52 +09:00
bitmap.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
collate.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
collate.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
compress.c ntfs: update attrib operations 2026-02-19 21:50:50 +09:00
debug.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
debug.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
dir.c ntfs: update directory operations 2026-02-19 21:48:07 +09:00
dir.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
ea.c ntfs: Fix null pointer dereference 2026-02-26 18:26:00 +09:00
ea.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
file.c ntfs: update file operations 2026-02-19 21:50:42 +09:00
index.c ntfs: update directory operations 2026-02-19 21:48:07 +09:00
index.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
inode.c ntfs: update inode operations 2026-02-19 21:48:06 +09:00
inode.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
iomap.c ntfs: update iomap and address space operations 2026-02-19 21:50:48 +09:00
iomap.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
Kconfig ntfs: add Kconfig and Makefile 2026-02-19 21:51:00 +09:00
layout.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
lcnalloc.c ntfs: update runlist handling and cluster allocator 2026-02-19 21:50:52 +09:00
lcnalloc.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
logfile.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
logfile.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
Makefile ntfs: add Kconfig and Makefile 2026-02-19 21:51:00 +09:00
malloc.h Revert "fs: Remove NTFS classic" 2026-02-19 21:48:05 +09:00
mft.c ntfs: update mft operations 2026-02-19 21:48:07 +09:00
mft.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
mst.c ntfs: update mft operations 2026-02-19 21:48:07 +09:00
namei.c ntfs: Remove impossible condition 2026-02-26 18:26:12 +09:00
ntfs.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
object_id.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
object_id.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
quota.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
quota.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
reparse.c ntfs: add reparse and ea operations 2026-02-19 21:50:54 +09:00
reparse.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
runlist.c ntfs: update runlist handling and cluster allocator 2026-02-19 21:50:52 +09:00
runlist.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
super.c ntfs: Remove unneeded semicolon 2026-02-26 18:26:04 +09:00
sysctl.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
sysctl.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
time.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
unistr.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
upcase.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
volume.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00