projects
/
lwext4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4: fix ext4_fread failing when fs on read-only mode.
[lwext4.git]
/
src
/
ext4.c
diff --git
a/src/ext4.c
b/src/ext4.c
index e0923e4700c0ceef31ec9d226e25e4426d0b964f..00af248996f23f9b7e4f705efeb8a6e94f60c7d5 100644
(file)
--- a/
src/ext4.c
+++ b/
src/ext4.c
@@
-1645,9
+1645,6
@@
int ext4_fread(ext4_file *f, void *buf, size_t size, size_t *rcnt)
ext4_assert(f && f->mp);
- if (f->mp->fs.read_only)
- return EROFS;
-
if (f->flags & O_WRONLY)
return EPERM;