smb3: fix caching of ctime on setxattr
authorSteve French <stfrench@microsoft.com>
Wed, 8 Nov 2023 03:38:13 +0000 (21:38 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:20:09 +0000 (17:20 +0000)
commit318e1c7e61c42a2066f511bf850c943ffb09f73c
tree46760e82d5e8400f0395c78d6625fe381f6275f3
parent67062c84922b439071c301afffaf14457fa3569a
smb3: fix caching of ctime on setxattr

commit 5923d6686a100c2b4cabd4c2ca9d5a12579c7614 upstream.

Fixes xfstest generic/728 which had been failing due to incorrect
ctime after setxattr and removexattr

Update ctime on successful set of xattr

Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/smb/client/xattr.c