[PATCH] read_file: Use read_full
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Mon Feb 17 05:04:36 EST 2014
On Thu, Feb 13, 2014 at 10:12:53AM +0100, Sascha Hauer wrote:
> At least NFS does not fulfill read requests > 1024 bytes at once.
> Use read_full in read_file as read doesn't guarantee that the
> whole request can be read at once.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Thanks
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the barebox
mailing list