]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: make integck function return error
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 12 Apr 2011 08:46:20 +0000 (11:46 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 18 Apr 2011 14:44:45 +0000 (17:44 +0300)
commit43f5dbec6e9dc2b17e40e9c1cbb09f74fb882a8d
tree2184ab41530831ee6cf91576e04f6ef94411dc8b
parent4b564cca7f1fc950ebdb895e0f88fbe2d644b9d3
fs-tests: integck: make integck function return error

Turn the 'void integck(void)' function into 'static int integck(void)'.
We need to teach the test to gracefully handle some error cases like
'EROFS' instead of failing and exiting straight away. And the ground
work for this is making all functions return errors. This is the first
tiny step in this direction.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/fs-tests/integrity/integck.c