fs: Split off inode_needs_update_time and __file_update_time
authorStefan Roesch <shr@fb.com>
Thu, 23 Jun 2022 17:51:52 +0000 (10:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:31 +0000 (18:39 -0600)
commit6a2aa5d85de534471dd023773236f113eaef26f0
treec585fe91d5dfdd068f47c3b45d31057b88831f85
parentfaf99b563558f74188b7ca34faae1c1da49a7261
fs: Split off inode_needs_update_time and __file_update_time

This splits off the functions inode_needs_update_time() and
__file_update_time() from the function file_update_time().

This is required to support async buffered writes.
No intended functional changes in this patch.

Signed-off-by: Stefan Roesch <shr@fb.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20220623175157.1715274-10-shr@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/inode.c