aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorZhang Xiaoxu <[email protected]>2020-06-20 02:51:29 +0000
committerSteve French <[email protected]>2020-06-24 00:06:27 +0000
commit5618303d8516f8ac5ecfe53ee8e8bc9a40eaf066 (patch)
treef9c51b19d0844052fb794603fa90129f86792be5 /tools/perf/scripts/python/sched-migration.py
parentcifs/smb3: Fix data inconsistent when punch hole (diff)
downloadkernel-5618303d8516f8ac5ecfe53ee8e8bc9a40eaf066.tar.gz
kernel-5618303d8516f8ac5ecfe53ee8e8bc9a40eaf066.zip
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 <[email protected]> Signed-off-by: Zhang Xiaoxu <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions