mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
rxfs_storePadd: return 0 on success
On success, storePadd should return 0, not the number of bytes written by the last rx_Write call. In some cases this return value would leak all the way out to the close() system call, causing it to fail. Reviewed-on: http://gerrit.openafs.org/573 Tested-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
6d9ad2e4d0
commit
fa8766d220
@ -213,7 +213,7 @@ rxfs_storePadd(void *rock, afs_uint32 size)
|
||||
return -33; /* XXX */
|
||||
size -= tlen;
|
||||
}
|
||||
return code;
|
||||
return 0;
|
||||
}
|
||||
|
||||
afs_int32
|
||||
|
Loading…
Reference in New Issue
Block a user