summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>2020-06-19 22:51:29 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-22 09:22:16 +0200
commit34a71f641f0b6ff78c3a3b58238958566af0cfe2 (patch)
tree82b59611b38eafe533ee4934e35890893fbcfc71 /arch/arm/mach-imx
parent7038f9eb426c820422cc3f56f26001a3f4f6e1bc (diff)
downloadlinux-rt-34a71f641f0b6ff78c3a3b58238958566af0cfe2.tar.gz
cifs: update ctime and mtime during truncate
[ Upstream commit 5618303d8516f8ac5ecfe53ee8e8bc9a40eaf066 ] As the man description of the truncate, if the size changed, then the st_ctime and st_mtime fields should be updated. But in cifs, we doesn't do it. It lead the xfstests generic/313 failed. So, add the ATTR_MTIME|ATTR_CTIME flags on attrs when change the file size Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx')
0 files changed, 0 insertions, 0 deletions