summaryrefslogtreecommitdiffstats
path: root/init/Makefile
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2021-03-26 18:41:55 -0500
committerSteve French <stfrench@microsoft.com>2021-03-26 18:41:55 -0500
commitcfc63fc8126a93cbf95379bc4cad79a7b15b6ece (patch)
tree01fd37c431d41c6d443d529e7fb1f8038508f46f /init/Makefile
parent219481a8f90ec3a5eed9638fb35609e4b1aeece7 (diff)
downloadlinux-cfc63fc8126a93cbf95379bc4cad79a7b15b6ece.tar.bz2
smb3: fix cached file size problems in duplicate extents (reflink)
There were two problems (one of which could cause data corruption) that were noticed with duplicate extents (ie reflink) when debugging why various xfstests were being incorrectly skipped (e.g. generic/138, generic/140, generic/142). First, we were not updating the file size locally in the cache when extending a file due to reflink (it would refresh after actimeo expires) but xfstest was checking the size immediately which was still 0 so caused the test to be skipped. Second, we were setting the target file size (which could shrink the file) in all cases to the end of the reflinked range rather than only setting the target file size when reflink would extend the file. CC: <stable@vger.kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'init/Makefile')
0 files changed, 0 insertions, 0 deletions