]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Fri, 8 Dec 2023 07:48:04 +0000 (08:48 +0100)
commitbb08df40d45131811456692c90d01519dec33f1c
treee2fef3840d8d7a83f5cca83f5758952b211f8ae3
parent15b4158c872db08c0c7f3afe3362262e85bee87e
smb3: fix caching of ctime on setxattr

[ Upstream commit 5923d6686a100c2b4cabd4c2ca9d5a12579c7614 ]

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: Sasha Levin <sashal@kernel.org>
fs/cifs/xattr.c