bfs: update ctime in addition to mtime when adding entries
authorJeff Layton <jlayton@kernel.org>
Wed, 5 Jul 2023 19:00:29 +0000 (15:00 -0400)
committerChristian Brauner <brauner@kernel.org>
Mon, 10 Jul 2023 08:04:51 +0000 (10:04 +0200)
commita4440d741eb3d65edbcec13f2d8a0384548dd841
tree5fb03cce4645eb8c321879d1b433905a0ae22425
parentd619f48e7d70919e97259900ca2d591d6165c65d
bfs: update ctime in addition to mtime when adding entries

When adding entries to a directory, POSIX generally requires that the
ctime be updated alongside the mtime.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Message-Id: <20230705190309.579783-2-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/bfs/dir.c