f2fs: add inline_data recovery routine
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 26 Dec 2013 03:49:48 +0000 (12:49 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 6 Jan 2014 07:42:20 +0000 (16:42 +0900)
commit1e1bb4baf10be371f72150e2801d97a04d40b3b9
tree708ae4f4d93b05f063aa1c50538c53cdcbae5350
parent0dbdc2ae9bba0a358816cc4a22e41a6ef16db8a2
f2fs: add inline_data recovery routine

This patch adds a inline_data recovery routine with the following policy.

[prev.] [next] of inline_data flag
   o       o  -> recover inline_data
   o       x  -> remove inline_data, and then recover data blocks
   x       o  -> remove inline_data, and then recover inline_data
   x       x  -> recover data blocks

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inline.c
fs/f2fs/recovery.c
include/linux/f2fs_fs.h