ocfs2: add orphan recovery types in ocfs2_recover_orphans
[linux-drm-fsl-dcu.git] / fs / ocfs2 / ocfs2.h
index fdbcbfed529ee5ff4cca3ef339cee5341db8b892..df9a95cbea3a72d8ebf525469ac29ac1a14c7fdc 100644 (file)
@@ -209,6 +209,11 @@ struct ocfs2_lock_res {
 #endif
 };
 
+enum ocfs2_orphan_reco_type {
+       ORPHAN_NO_NEED_TRUNCATE = 0,
+       ORPHAN_NEED_TRUNCATE,
+};
+
 enum ocfs2_orphan_scan_state {
        ORPHAN_SCAN_ACTIVE,
        ORPHAN_SCAN_INACTIVE