summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2026-09-11 10:25:04 +0100
committerDominique Martinet <asmadeus@codewreck.org>2026-09-12 07:49:22 +0000
commitc60ae98c5aa64021751b38ab1313b19d620bf640 (patch)
treed3b0109bf52330459fc246eeb8ed5065a567930a /scripts/Makefile.thinlto
parentdf2908090cda368b01ff43709f51890076c56157 (diff)
downloadlinux-stable-c60ae98c5aa64021751b38ab1313b19d620bf640.tar.gz
linux-stable-c60ae98c5aa64021751b38ab1313b19d620bf640.zip
9p: Fix v9fs_issue_write() to update i_size and remote_i_size
Fix v9fs_issue_write() to update i_size and remote_i_size to the new size of the server file if we made it larger, using the start fpos and the count returned by p9_client_write() to calculate the new minimum file size. This assumes that if the 9P server makes a short write (say it hits ENOSPC), a reduced count is returned. Fixes: 5fb70e7275a6 ("netfs, 9p: Implement helpers for new write code") Reported-by: Michael Mulqueen <mike@method-b.uk> Closes: https://lore.kernel.org/r/fbb9e395-1e07-4212-8f70-23f3cd498074@method-b.uk/ Cc: stable@vger.kernel.org Signed-off-by: David Howells <dhowells@redhat.com> Message-ID: <2226525.1789118704@warthog.procyon.org.uk> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions