]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ntfs: change mft_no type to u64
authorNamjae Jeon <linkinjeon@kernel.org>
Thu, 5 Mar 2026 01:40:54 +0000 (10:40 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Fri, 6 Mar 2026 13:08:39 +0000 (22:08 +0900)
commitd9038d99fb5c623f43bcd8b726bfbbe8562648c2
treee0cf8e11ae74eb4875a97aeb2696ba408956624e
parent5eed3d6aa58c7f1ded6ba31fb2ae013ae55e7006
ntfs: change mft_no type to u64

Changes the type of ntfs_inode::mft_no from unsigned long to u64
to safely handle the full 48-bit range without truncation risk, especially
in preparation for broader VFS inode number type (i_ino:u64) and to
improve consistency with ntfs driver practices.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/ntfs/aops.c
fs/ntfs/attrib.c
fs/ntfs/compress.c
fs/ntfs/dir.c
fs/ntfs/inode.c
fs/ntfs/inode.h
fs/ntfs/lcnalloc.c
fs/ntfs/mft.c
fs/ntfs/mft.h
fs/ntfs/namei.c