diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-07-04 22:17:39 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-07-04 22:17:39 +0200 |
commit | 0f1db7dee200127da4c07928189748918c312031 (patch) | |
tree | bd2abe8f6e2929335e9326afa56f06102386c224 /block/blk-throttle.c | |
parent | p9_client_write(): avoid double p9_free_req() (diff) | |
download | linux-0f1db7dee200127da4c07928189748918c312031.tar.xz linux-0f1db7dee200127da4c07928189748918c312031.zip |
9p: cope with bogus responses from server in p9_client_{read,write}
if server claims to have written/read more than we'd told it to,
warn and cap the claimed byte count to avoid advancing more than
we are ready to.
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions