Zhang Xiaoxu 5618303d85 cifs: update ctime and mtime during truncate
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>
2020-06-23 19:06:27 -05:00
..
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2020-06-01 00:10:18 -05:00
2019-09-24 23:31:32 -05:00
2019-01-24 09:37:33 -06:00