mirror-linux/fs/ntfs
Hyunchul Lee 4e59f8a1a8 ntfs: fix variable dereferenced before check warnings
Detected by Smatch.

lcnalloc.c:736 ntfs_cluster_alloc() error:
  we previously assumed 'rl' could be null (see line 719)

inode.c:3275 ntfs_inode_close() warn:
  variable dereferenced before check 'tmp_nis' (see line 3255)

attrib.c:4952 ntfs_attr_remove() warn:
  variable dereferenced before check 'ni' (see line 4951)

dir.c:1035 ntfs_readdir() error:
  we previously assumed 'private' could be null (see line 850)

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
2026-03-16 20:27:45 +09:00
..
Kconfig ntfs: select FS_IOMAP in Kconfig 2026-03-05 17:37:02 +09:00
Makefile ntfs: add Kconfig and Makefile 2026-02-19 21:51:00 +09:00
aops.c ntfs: change mft_no type to u64 2026-03-06 22:08:39 +09:00
attrib.c ntfs: fix variable dereferenced before check warnings 2026-03-16 20:27:45 +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: use ->mft_no instead of ->i_ino in prints 2026-03-06 22:08:42 +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: change mft_no type to u64 2026-03-06 22:08:39 +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: fix variable dereferenced before check warnings 2026-03-16 20:27:45 +09:00
dir.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
ea.c ntfs: harden ntfs_listxattr against EA entries 2026-03-16 20:27:40 +09:00
ea.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
file.c ntfs: use ->mft_no instead of ->i_ino in prints 2026-03-06 22:08: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: fix variable dereferenced before check warnings 2026-03-16 20:27:45 +09:00
inode.h ntfs: change mft_no type to u64 2026-03-06 22:08:39 +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
layout.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
lcnalloc.c ntfs: fix variable dereferenced before check warnings 2026-03-16 20:27:45 +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
malloc.h Revert "fs: Remove NTFS classic" 2026-02-19 21:48:05 +09:00
mft.c ntfs: use ->mft_no instead of ->i_ino in prints 2026-03-06 22:08:42 +09:00
mft.h ntfs: change mft_no type to u64 2026-03-06 22:08:39 +09:00
mst.c ntfs: update mft operations 2026-02-19 21:48:07 +09:00
namei.c ntfs: fix pointer/integer casting warnings 2026-03-10 17:46:14 +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: fix variable dereferenced before check warnings 2026-03-16 20:27:45 +09:00
runlist.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
super.c ntfs: add MODULE_ALIAS_FS 2026-03-05 17:36:13 +09:00
sysctl.c ntfs: fix sysctl table registration and path 2026-03-01 14:53:37 +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