f2fs: fix the recovery flow to handle errors correctly
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 20 Mar 2013 10:01:06 +0000 (19:01 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 27 Mar 2013 00:16:06 +0000 (09:16 +0900)
commit6ead114232f786e3ef7a034c8617f2a4df8e5226
tree4ce177b708f8e98b148658a21d35fbec8bdc1e6b
parent111d2495a8a8fbd8e3bb0f1c1c60f977b1386249
f2fs: fix the recovery flow to handle errors correctly

We should handle errors during the recovery flow correctly.
For example, if we get -ENOMEM, we should report a mount failure instead of
conducting the remained mount procedure.

Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/f2fs.h
fs/f2fs/recovery.c
fs/f2fs/super.c