Currently, ubifs_readpage only returns 0 even if ubifs_bulk_read()
fails. Therefore propagating error to the above functions which
have called ubifs_readpage.
Another check that is missing is ENOMEM for kmalloc in ubifs_bulk_read.
Signed-off-by: Sanidhya Kashyap
---
fs/ubifs/file.c | 11
Currently, ubifs_readpage only returns 0 even if ubifs_bulk_read()
fails. Therefore propagating error to the above functions which
have called ubifs_readpage.
Another check that is missing is ENOMEM for kmalloc in ubifs_bulk_read.
Signed-off-by: Sanidhya Kashyap sanidhya.gat...@gmail.com
---
2 matches
Mail list logo