Currently, ubifs_readpage only returns 0 even if ubifs_bulk_read()
fails. Like the other file systems, the error value should be
propagated further instead of 0.
Another check that is missing is ENOMEM for kmalloc.
Signed-off-by: Sanidhya Kashyap
---
fs/ubifs/file.c | 13 +
1 file
Currently, ubifs_readpage only returns 0 even if ubifs_bulk_read()
fails. Like the other file systems, the error value should be
propagated further instead of 0.
Another check that is missing is ENOMEM for kmalloc.
Signed-off-by: Sanidhya Kashyap sanidhya.gat...@gmail.com
---
fs/ubifs/file.c |
2 matches
Mail list logo