commit | f5a06d8e9f709824d768d7a15f1384668e7a4858 | [log] [tgz] |
---|---|---|
author | Amin Hassani <[email protected]> | Thu Oct 19 15:06:38 2017 -0700 |
committer | chrome-bot <[email protected]> | Tue Oct 24 15:30:13 2017 -0700 |
tree | 720d47e987275bf64c018a714d359865d4858ea9 | |
parent | e9f9661e99917c9b33e10fb6c4f10979b13f572b [diff] |
update_engine: Stop adding unneeded parameters for some operations. Currently we are adding src_extents, src_length and dst_length for ZERO, DISCARD and but they don't need it. Also we are secretly adding dst_length for all REPLACE operations which they don't need it either. BUG=chromium:776576 TEST=unittests passed; brillo_update_payload {generate|verify} passed; Change-Id: I9bf04071a40ef4b9a9d437830f9bdcfb507f18a2 Reviewed-on: https://chromium-review.googlesource.com/729061 Commit-Ready: Amin Hassani <[email protected]> Tested-by: Amin Hassani <[email protected]> Reviewed-by: Ben Chan <[email protected]> Reviewed-by: Sen Jiang <[email protected]>