Files
linux/Documentation/filesystems
Christoph Hellwig 761475268f fs: refactor ->update_time handling
Pass the type of update (atime vs c/mtime plus version) as an enum
instead of a set of flags that caused all kinds of confusion.
Because inode_update_timestamps now can't return a modified version
of those flags, return the I_DIRTY_* flags needed to persist the
update, which is what the main caller in generic_update_time wants
anyway, and which is suitable for the other callers that only want
to know if an update happened.

The whole update_time path keeps the flags argument, which will be used
to support non-blocking updates soon even if it is unused, and (the
slightly renamed) inode_update_time also gains the possibility to return
a negative errno to support this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260108141934.2052404-6-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2026-01-12 14:01:32 +01:00
..
2025-12-03 09:05:14 -05:00
2023-08-18 11:29:03 -06:00
2023-08-18 11:29:03 -06:00
2023-08-18 11:29:03 -06:00
2024-05-02 10:02:29 -06:00
2025-08-18 10:31:19 -06:00
2022-08-02 12:34:04 -04:00
2024-02-09 10:37:20 +01:00
2025-08-18 10:31:19 -06:00
2023-08-18 11:29:03 -06:00
2023-08-18 11:29:03 -06:00
2023-08-18 11:29:03 -06:00
2025-07-15 13:53:46 -06:00
2023-08-18 11:29:03 -06:00
2023-08-18 11:29:03 -06:00
2024-10-28 13:36:55 +01:00
2023-08-18 11:29:03 -06:00
2026-01-12 14:01:32 +01:00
2023-08-18 11:29:03 -06:00