[Ocfs2-tools-devel] [PATCH 3/5] Fswreck: Doing cleanup for unimplemented code CLUSTER_ALLOC_BIT.

Tristan Ye tristan.ye at oracle.com
Thu Mar 11 02:02:21 PST 2010


It would be better to remove corresponding codes in corrupt.c to
stop confusing the reader unitl the code get implemented one day.

Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
 fswreck/corrupt.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/fswreck/corrupt.c b/fswreck/corrupt.c
index a529a85..911387a 100644
--- a/fswreck/corrupt.c
+++ b/fswreck/corrupt.c
@@ -245,9 +245,6 @@ void corrupt_sys_file(ocfs2_filesys *fs, enum fsck_type type, uint16_t slotnum)
 	case CHAIN_BITS:
 		func = mess_up_chains_rec;
 		break;
-	case CLUSTER_ALLOC_BIT:
-		func = mess_up_chains_rec;
-		break;
 	case CHAIN_I_CLUSTERS:
 		func = mess_up_chains_inode;
 		break;
-- 
1.5.5




More information about the Ocfs2-tools-devel mailing list