adfs: return correct return values
authorSanidhya Kashyap <sanidhya.gatech@gmail.com>
Thu, 16 Apr 2015 19:48:13 +0000 (12:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:08 +0000 (09:04 -0400)
commitb796410630a0f090864d7595c6bffbc0136f0f8c
tree1888b4a7745f67896ccf0da3a95cff69c69d3336
parent9d796e66230205cd3366f5660387bd9ecca9d336
adfs: return correct return values

Fix the wrong values returned by various functions such as EIO and ENOMEM.

Signed-off-by: Sanidhya Kashyap <sanidhya.gatech@gmail.com>
Cc: Fabian Frederick <fabf@skynet.be>
Cc: Joe Perches <joe@perches.com>
Cc: Taesoo kim <taesoo@gatech.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/adfs/dir_fplus.c
fs/adfs/super.c