ref: 734cf0ec11fc0ebc853ade833158918bd10f3690
parent: 8929c98e42e81dce0b00d03a1c7b2f45ee85fe87
author: ngkaho1234 <ngkaho1234@gmail.com>
date: Sat Jan 30 12:25:51 EST 2016
ext4: fix ext4_fread failing when fs on read-only mode.
--- a/src/ext4.c
+++ b/src/ext4.c
@@ -1645,9 +1645,6 @@
ext4_assert(f && f->mp);
- if (f->mp->fs.read_only)
- return EROFS;
-
if (f->flags & O_WRONLY)
return EPERM;