ubifs: Fix reading holes in files
When a whole block of 4KiB in an ubifs file is zero then the block is
not stored in the filesystem. read_block() returns -ENOENT in this case,
so this return value must be treated as success.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ba24403 commit 6c57aca60d421e7d689a741833fce7b59a23691c
@Sascha Hauer Sascha Hauer authored on 4 Feb 2016
Showing 1 changed file
View
fs/ubifs/ubifs.c