[PATCH 4/4] nilfs2: remove debug printf; remove erroneous #if 0

Petr Uzel petr.uzel at suse.cz
Mon Mar 7 15:08:57 UTC 2011


* libparted/fs/nilfs2/nilfs2.c (nilfs2_clobber): Remove debugging
printf.
(nilfs2_ops): Remove erroneous "#if 0" and #else block.
---
 libparted/fs/nilfs2/nilfs2.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/libparted/fs/nilfs2/nilfs2.c b/libparted/fs/nilfs2/nilfs2.c
index 49634c0..5802df5 100644
--- a/libparted/fs/nilfs2/nilfs2.c
+++ b/libparted/fs/nilfs2/nilfs2.c
@@ -144,7 +144,6 @@ nilfs2_clobber (PedGeometry* geom)
 	char buf[512];
 	int ret[2];

-	printf("nilfs2_clobber\n");
 	memset (buf, 0, 512);

 	ret[0] = ped_geometry_write (geom, buf, NILFS_SB_OFFSET, 1);
@@ -158,11 +157,7 @@ nilfs2_clobber (PedGeometry* geom)
 static PedFileSystemOps nilfs2_ops = {
 	probe:			nilfs2_probe,
 #ifndef DISCOVER_ONLY
- #if 0
 	clobber:		nilfs2_clobber,
- #else
-	clobber:		NULL,
- #endif
 #else
 	clobber:		NULL,
 #endif
--
1.7.4.1.299.ga459d



More information about the parted-devel mailing list