]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: factor out a sync_lazytime helper
authorChristoph Hellwig <hch@lst.de>
Thu, 8 Jan 2026 14:19:06 +0000 (15:19 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Jan 2026 13:01:33 +0000 (14:01 +0100)
commit188344c8ac0b740ee2e5deebda2004b39ccbee74
treeed8d57869674970495178366b127c598ec76aa84
parent761475268fa8e322fe6b80bcf557dc65517df71e
fs: factor out a sync_lazytime helper

Centralize how we synchronize a lazytime update into the actual on-disk
timestamp into a single helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260108141934.2052404-7-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/fs-writeback.c
fs/inode.c
fs/internal.h
fs/sync.c
include/trace/events/writeback.h