ubifs: convert to simple_rename_timestamp
authorJeff Layton <jlayton@kernel.org>
Wed, 5 Jul 2023 19:00:35 +0000 (15:00 -0400)
committerChristian Brauner <brauner@kernel.org>
Mon, 10 Jul 2023 08:08:16 +0000 (10:08 +0200)
commite54c86fd48d0e9938d59a338a9f4811555fbf453
tree919396b37f015edb9bbc748110b531ae7fd26128
parent130f1eca981d96e11b79720dfc13d1522d399e51
ubifs: convert to simple_rename_timestamp

A rename potentially involves updating 4 different inode timestamps.
Convert to the new simple_rename_timestamp helper function.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Message-Id: <20230705190309.579783-8-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ubifs/dir.c