summaryrefslogtreecommitdiffstats
path: root/kernel/fs/ext4/block_validity.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/ext4/block_validity.c')
-rw-r--r--kernel/fs/ext4/block_validity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/ext4/block_validity.c b/kernel/fs/ext4/block_validity.c
index 3522340c7..02ddec6d8 100644
--- a/kernel/fs/ext4/block_validity.c
+++ b/kernel/fs/ext4/block_validity.c
@@ -234,7 +234,7 @@ int ext4_check_blockref(const char *function, unsigned int line,
es->s_last_error_block = cpu_to_le64(blk);
ext4_error_inode(inode, function, line, blk,
"invalid block");
- return -EIO;
+ return -EFSCORRUPTED;
}
}
return 0;