summaryrefslogtreecommitdiff
path: root/include/uapi/linux/android
diff options
context:
space:
mode:
authorXuewen Wang <wangxuewen@kylinos.cn>2026-10-16 11:09:57 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-20 18:46:02 +0900
commitb715537e26684581a1f99b6bd1cc5d43b6d563e1 (patch)
treec711a8236ceb5b1d811513d879424465cf3347b1 /include/uapi/linux/android
parent89467388e8afc6b55ea7cd38bc1f469df7747db0 (diff)
ntfs: support persistent noatime attribute
NTFS currently rejects FS_NOATIME_FL in its fileattr setter. This prevents users from disabling automatic access-time updates on individual files or directories with chattr +A. Store noatime in bit 3 of the private $LINUXFLAGS EA and restore S_NOATIME when loading an inode. Report and accept FS_NOATIME_FL in the fileattr callbacks, updating the in-memory flag only after the EA update succeeds. The VFS then suppresses automatic atime updates for the inode, while chattr -A restores the mount's atime policy. Document the new on-disk bit and that newly created children do not inherit the attribute. Suggested-by: Baolin Liu <liubaolin@kylinos.cn> Reviewed-by: Baolin Liu <liubaolin@kylinos.cn> Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Xuewen Wang <wangxuewen@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/uapi/linux/android')
0 files changed, 0 insertions, 0 deletions