]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ntfs: update file operations
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 13 Feb 2026 01:41:19 +0000 (10:41 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Thu, 19 Feb 2026 12:50:42 +0000 (21:50 +0900)
commit9c87959601e80b39a45250e362e6ddfec17cb0fa
treee1e2d37511e09c0517ab3565bad2e2da5ad6dac6
parent0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0
ntfs: update file operations

Rewrite the file operations to utilize the iomap infrastructure,
replacing the legacy buffer-head based implementation.

Implement ntfs_setattr() with size change handling, uid/gid/mode.

Add support for Direct I/O.

Add support for fallocate with the FALLOC_FL_KEEP_SIZE,
FALLOC_FL_PUNCH_HOLE, FALLOC_FL_COLLAPSE_RANGE, FALLOC_FL_INSERT_RANGE
and FALLOC_FL_ALLOCATE_RANGE modes.

Implement .llseek with SEEK_DATA / SEEK_HOLE support.

Implement ntfs_fiemap() using iomap_fiemap().

Add FS_IOC_SHUTDOWN, FS_IOC_[GS]ETFSLABEL, FITRIM ioctl support.

Reviewed-by: Christoph Hellwig <hch@lst.de>
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/file.c