ref: 44ce3df15ccdbf6dd79801b9320c1eed690496e8
parent: 13e34ef3f6aae58432e5518776a36a435029ad8e
author: gkostka <[email protected]>
date: Tue Apr 12 13:42:09 EDT 2016
ext4_blockdev: change ERANGE to ENXIO error status
--- a/src/ext4_blockdev.c
+++ b/src/ext4_blockdev.c
@@ -217,7 +217,7 @@
return EIO;
if (!(lba < bdev->lg_bcnt))
- return ERANGE;
+ return ENXIO;
b->lb_id = lba;