diff options
| author | Jeff Layton <jlayton@kernel.org> | 2026-10-12 11:46:10 -0400 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-10-14 15:39:24 +0000 |
| commit | 714c68e85ba3a59ebffbb55fccd2d37c786642d2 (patch) | |
| tree | 6a970ddf67a05a2b99efb873a15d9c3f67ecb63e /tools/lib/python/kdoc/python_version.py | |
| parent | a605d5d71a6d280c43c7ede9778dda63fb5c3f22 (diff) | |
f2fs: opt in to multigrain timestamps
Set FS_MGTIME on f2fs_fs_type.
f2fs meets the multigrain requirements:
- ctime updates use inode_set_ctime_current()
- f2fs_getattr() calls generic_fillattr()
- f2fs_setattr() calls setattr_copy()
- s_time_gran is 1ns
Exception: with CONFIG_F2FS_FS_POSIX_ACL, f2fs_setattr() uses a local
__setattr_copy() that sets timestamps directly, bypassing
setattr_copy_mgtime(). Make it call setattr_copy() with ATTR_MODE
cleared, then do the f2fs mode/ACL handling as before. ACL builds now
also honor ATTR_CTIME_SET via inode_set_ctime_deleg(), as non-ACL
builds already do.
Assisted-by: LLM
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
