f2fs: add BUG cases to initiate fsck.f2fs
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 2 Sep 2014 23:05:00 +0000 (16:05 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 9 Sep 2014 20:15:03 +0000 (13:15 -0700)
commit05796763b8d19b48bb4149bfb1aa1a91dd9faee6
treeb6c83dc562e3a9d6a10f6cb35241cddb542d9ebc
parent9850cf4a8908886370b1f15aacf83d291f098c72
f2fs: add BUG cases to initiate fsck.f2fs

This patch replaces BUG cases with f2fs_bug_on to remain fsck.f2fs information.
And it implements some void functions to initiate fsck.f2fs too.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c
fs/f2fs/segment.h