ocfs2: add orphan recovery types in ocfs2_recover_orphans
authorJoseph Qi <joseph.qi@huawei.com>
Mon, 16 Feb 2015 23:59:57 +0000 (15:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 01:56:04 +0000 (17:56 -0800)
commited460cffc26ba4ec663a89589d81290ca92c5010
tree759f89935c04b221e6efc5bbc81ef3bfde10875b
parent06ee5c75b57564435933fc0ffa72dc18a2fda0e7
ocfs2: add orphan recovery types in ocfs2_recover_orphans

Define two orphan recovery types, which indicates if need truncate file or
not.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Weiwei Wang <wangww631@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Xuejiufei <xuejiufei@huawei.com>
Cc: alex chen <alex.chen@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/journal.c
fs/ocfs2/ocfs2.h