summaryrefslogtreecommitdiffstats
path: root/drivers/memstick
diff options
context:
space:
mode:
authorSanidhya Kashyap <sanidhya.gatech@gmail.com>2015-04-16 21:48:32 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 15:04:09 +0200
commitc3fe5872eb3f5f9e027d61d8a3f5d092168fdbca (patch)
tree2d15193ba9e3d329e58f5c3b38c89dd0930b68e2 /drivers/memstick
parentbfs: bfad_worker cleanup (diff)
downloadlinux-c3fe5872eb3f5f9e027d61d8a3f5d092168fdbca.tar.xz
linux-c3fe5872eb3f5f9e027d61d8a3f5d092168fdbca.zip
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>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions