In case of no memory allocation, the return should be
ENOMEM instead of ENOSPC. Well, for the other case, in which
the buffer head is not allocated, in that case -EIO should
be returned.
Signed-off-by: Sanidhya Kashyap
---
fs/bfs/dir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
In case of no memory allocation, the return should be
ENOMEM instead of ENOSPC. Well, for the other case, in which
the buffer head is not allocated, in that case -EIO should
be returned.
Signed-off-by: Sanidhya Kashyap sanidhya.gat...@gmail.com
---
fs/bfs/dir.c | 4 ++--
1 file changed, 2
2 matches
Mail list logo