aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2022-08-23 14:07:41 +0100
committerSteve French <stfrench@microsoft.com>2022-08-28 22:34:07 -0500
commitfa30a81f255a56cccd89552cd6ce7ea6e8d8acc4 (patch)
tree7cfd66e49ee222d5ca364c2ae0fd507194e744fa /scripts/generate_rust_analyzer.py
parentsmb3: Move the flush out of smb2_copychunk_range() into its callers (diff)
downloadlinux-rng-fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4.tar.xz
linux-rng-fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4.zip
smb3: fix temporary data corruption in collapse range
collapse range doesn't discard the affected cached region so can risk temporarily corrupting the file data. This fixes xfstest generic/031 I also decided to merge a minor cleanup to this into the same patch (avoiding rereading inode size repeatedly unnecessarily) to make it clearer. Cc: stable@vger.kernel.org Fixes: 5476b5dd82c8b ("cifs: add support for FALLOC_FL_COLLAPSE_RANGE") Reported-by: David Howells <dhowells@redhat.com> Tested-by: David Howells <dhowells@redhat.com> Reviewed-by: David Howells <dhowells@redhat.com> cc: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions