Skip to contentSkip to conversation

gfs: fsck needs extra cleaning

PATCH New Fabio M. Di Nitto 2 participants 2 messages Jul 19, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 gfs: fsck needs extra cleaning

This is the same patch i did send for gfs2_fsck in the last batch. Make sure to clean up *.d files and remove gfs_fsck binary.

Index: gfs/gfs_fsck/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_fsck/Makefile,v retrieving revision 1.4

gfs_fsck/Makefile +2 -2
diff -u -r1.4 Makefile
@@ -42,13 +42,13 @@
 test_bitmap: bitmap.o test_bitmap.o log.o
 	$(CC) $(CFLAGS) $^ -o $@
 clean:
-	@rm -f *.o *~
+	@rm -f *.o *~ *.d gfs_fsck
 
 copytobin: gfs_fsck
 	cp gfs_fsck ${top_srcdir}/bin
 
 distclean: clean
-	@rm -f *.d cscope.* gfs_fsck test_inode_list *.orig *.rej test_block_list test_bitmap
+	@rm -f cscope.* test_inode_list *.orig *.rej test_block_list test_bitmap
 
 
 gfs_fsck.pot: $(sources)
#1 lore raw

PATCH 5/6 gfs: fsck needs extra cleaning

Quoted 16 lines · Fabio M. Di Nitto

This is the same patch i did send for gfs2_fsck in the last batch. Make sure to clean up *.d files and remove gfs_fsck binary.

Index: gfs/gfs_fsck/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_fsck/Makefile,v retrieving revision 1.4
diff -u -r1.4 Makefile

gfs_fsck/Makefile +1 -1
@@ -42,13 +42,13 @@
 test_bitmap: bitmap.o test_bitmap.o log.o
 	$(CC) $(CFLAGS) $^ -o $@
 clean:
-	@rm -f *.o *~
+	@rm -f *.o *~ *.d gfs_fsck

gfs_fsck/Makefile line 54

Quoted 10 lines
gfs_fsck/Makefile +1 -1
 
 copytobin: gfs_fsck
 	cp gfs_fsck ${top_srcdir}/bin
 
 distclean: clean
-	@rm -f *.d cscope.* gfs_fsck test_inode_list *.orig *.rej test_block_list test_bitmap
+	@rm -f cscope.* test_inode_list *.orig *.rej test_block_list test_bitmap
 
 
 gfs_fsck.pot: $(sources)

Hi Fabio,

ACK. Merged into CVS. Once again, thanks for your contributions.

Bob Peterson
Red Hat Cluster Suite