f2fs: set errno when f2fs_iget failed in recover_dentry
authorChao Yu <chao2.yu@samsung.com>
Mon, 28 Apr 2014 09:58:34 +0000 (17:58 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:57 +0000 (10:21 +0900)
commit5c1f9927ec1a4753e845193bde99ac3b03b08818
tree0f4c099c100a59a2016092a9640f3bba03f54eae
parent7f7670fe9fe47e7e56db658eb8831febe47627f2
f2fs: set errno when f2fs_iget failed in recover_dentry

We should set the error number correctly when we fail in recover_dentry(), so
the recover flow could stop for the reason as error number shows instead of
continuing.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/recovery.c