gunzip.c: use block layer for writes
authorEric Nelson <eric@nelint.com>
Mon, 11 Apr 2016 22:21:37 +0000 (15:21 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 18 Apr 2016 21:11:41 +0000 (17:11 -0400)
commit6a3bf3e57149dcfdb447590049ef6cad6cf7258b
tree68dd1e2bfa99e6bc1735a612250fd13260e43d30
parentcee752fa8dcf3b589baf7141011675a0c3f2ded6
gunzip.c: use block layer for writes

Call blk_dwrite to ensure that the block cache is notified
if enabled and remove build breakage when CONFIG_BLK is enabled.

Signed-off-by: Eric Nelson <eric@nelint.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
lib/gunzip.c