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:07:15 +0000 (17:07 +0000)
commit49d0ff613f4d1f564657aa1169ba3fc62d3569c6
tree9643da18a9ff69c724902adab000fe1f0a301258
parent34828baf81efa67e4e0e3b9200463a68a0e9539c
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