]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ed6938bcc1974a5f35d9552f9346cd08243750e
treec585fe91d5dfdd068f47c3b45d31057b88831f85
parent7d6646b3c5114e4e1ee862c37efdf58b4848f55c
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