]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ntfs: update inode operations
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 13 Feb 2026 01:38:45 +0000 (10:38 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Thu, 19 Feb 2026 12:48:06 +0000 (21:48 +0900)
commitaf0db57d4293cc9fe6ce99fb5592dc2652228c9d
treece51233a72b3565039485daa10bf5ba6cec34862
parent6251f0b0de7d645e3591931ca4c11d8322c1866f
ntfs: update inode operations

Add extent inode loading via ntfs_extent_inode_open() and
ntfs_inode_attach_all_extents().

Allow dynamic creation of  with ntfs_inode_add_attrlist() when
the base MFT record overflows.

Introduce ntfs_inode_free_space() to move attributes out of
the base record on demand.

Implement direct attribute I/O through ntfs_inode_attr_pread() and
ntfs_inode_attr_pwrite().

Implement .create, .unlink, .mkdir, .rmdir, .rename, .symlink, .mknod,
.link callbacks.

Introduce ntfs_non_resident_dealloc_clusters() to free clusters of
non-resident attributes during inode eviction.

Add ntfs_drop_big_inode() logic to safely truncate and deallocate
clusters.

Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/ntfs/inode.c
fs/ntfs/namei.c