]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: allow error returns from generic_update_time
authorChristoph Hellwig <hch@lst.de>
Thu, 8 Jan 2026 14:19:02 +0000 (15:19 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Jan 2026 13:01:32 +0000 (14:01 +0100)
commitdc9629faef0a3d3cd35aff22806376700275a8b6
tree8009babba2db708fde61e03102a3b611f7e5d7d9
parent20b781834ea0037b63c657e15b5aa4cfb4dd9b8b
fs: allow error returns from generic_update_time

Now that no caller looks at the updated flags, switch generic_update_time
to the same calling convention as the ->update_time method and return 0
or a negative errno.

This prepares for adding non-blocking timestamp updates that could return
-EAGAIN.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260108141934.2052404-3-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/gfs2/inode.c
fs/inode.c
fs/ubifs/file.c
fs/xfs/xfs_iops.c
include/linux/fs.h