commit | c3fe5872eb3f5f9e027d61d8a3f5d092168fdbca | [log] [tgz] |
---|---|---|
author | Sanidhya Kashyap <sanidhya.gatech@gmail.com> | Thu Apr 16 12:48:32 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Apr 17 09:04:09 2015 -0400 |
tree | 2d15193ba9e3d329e58f5c3b38c89dd0930b68e2 | |
parent | 8f7d3f0f1ed5dce6ea7b833ec19cabe61a6e7ff8 [diff] |
bfs: correct return values In case of failed memory allocation, the return should be ENOMEM instead of ENOSPC. Return -EIO when sb_bread() fails. Signed-off-by: Sanidhya Kashyap <sanidhya.gatech@gmail.com> Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>