befs: iget_locked() doesn't return an ERR_PTR
authorRakesh Pandit <rakesh@tuxera.com>
Wed, 15 Jan 2014 17:58:28 +0000 (19:58 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 25 Jan 2014 08:14:38 +0000 (03:14 -0500)
commitac34a1b35eca5ef64cb499e25f776bf42a81a660
tree867f339a9197c6718a69b6171a05f732b0f752b2
parente6ff9a9fa4e05c1c03dec63cdc6a87d6dea02755
befs: iget_locked() doesn't return an ERR_PTR

Also fix befs_iget return value if iget_locked fails.

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/befs/linuxvfs.c