summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/afs.txt
diff options
context:
space:
mode:
authorDavid Howells2017-11-02 16:27:51 +0100
committerDavid Howells2017-11-13 16:38:19 +0100
commit1199db603511d7463d9d3840f96f61967affc766 (patch)
treef2f3031337d905ffbfd82ece97b2e89db501df01 /Documentation/filesystems/afs.txt
parentafs: Only progress call state at end of Tx phase from rxrpc callback (diff)
downloadkernel-qcow2-linux-1199db603511d7463d9d3840f96f61967affc766.tar.gz
kernel-qcow2-linux-1199db603511d7463d9d3840f96f61967affc766.tar.xz
kernel-qcow2-linux-1199db603511d7463d9d3840f96f61967affc766.zip
afs: Fix total-length calculation for multiple-page send
Fix the total-length calculation in afs_make_call() when the operation being dispatched has data from a series of pages attached. Despite the patched code looking like that it should reduce mathematically to the current code, it doesn't because the 32-bit unsigned arithmetic being used to calculate the page-offset-difference doesn't correctly extend to a 64-bit value when the result is effectively negative. Without this, some FS.StoreData operations that span multiple pages fail, reporting too little or too much data. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'Documentation/filesystems/afs.txt')
0 files changed, 0 insertions, 0 deletions