cifs: update the ctime on a partial page write
authorJeff Layton <jlayton@kernel.org>
Wed, 5 Jul 2023 19:00:33 +0000 (15:00 -0400)
committerChristian Brauner <brauner@kernel.org>
Mon, 10 Jul 2023 08:04:52 +0000 (10:04 +0200)
commitbc2390f2c8843f342ba72bea0ee549b0d6976463
tree5c557f5e4f5b75ba043f18cbf440241214025d80
parent46fc6b35a6743075f5903eda411e4e0f4f0df84b
cifs: update the ctime on a partial page write

POSIX says:

    "Upon successful completion, where nbyte is greater than 0, write()
     shall mark for update the last data modification and last file status
     change timestamps of the file..."

Add the missing ctime update.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Steve French <stfrench@microsoft.com>
Message-Id: <20230705190309.579783-6-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/smb/client/file.c