[PATCH] bfs: correct return values

2015-03-24 Thread Sanidhya Kashyap
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(-)

[PATCH] bfs: correct return values

2015-03-24 Thread Sanidhya Kashyap
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