read_file: Use read_full
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@pengutronix.de>
1 parent b069d6b commit 403fbbbc3411a3dccc80f0c0798b0c2c9924eda9
@Sascha Hauer Sascha Hauer authored on 13 Feb 2014
Showing 1 changed file
View
fs/fs.c