f2fs: add inline_data recovery routine
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 26 Dec 2013 03:49:48 +0000 (12:49 +0900)
committerIan Chang <ianc@nvidia.com>
Wed, 27 Jan 2016 10:03:46 +0000 (18:03 +0800)
commita90c6425c63fef153dd4686f8e8c596b1b910180
treefe39a082e9f4c2676d7dcf5827b0b844555e81a1
parentae7c1c27320681aec46fb1446694ca8cd5a0bbb4
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>

Conflicts:
fs/f2fs/recovery.c

Change-Id: I9372b84e1be618a9cd25be8690e6fa46e000f1e8
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inline.c
fs/f2fs/recovery.c
include/linux/f2fs_fs.h