OSDN Git Service

jfs: remove all-but-probe FS-related code
authorJim Meyering <meyering@redhat.com>
Mon, 16 May 2011 12:35:19 +0000 (14:35 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 27 May 2011 15:07:46 +0000 (17:07 +0200)
libparted/fs/jfs/Makefile.am
libparted/fs/jfs/jfs.c

index 9e316a0..a477874 100644 (file)
@@ -1,3 +1,4 @@
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
 partedincludedir       = -I$(top_srcdir)/include
 
 noinst_LTLIBRARIES     = libjfs.la
index 4364817..2095002 100644 (file)
@@ -64,17 +64,6 @@ jfs_probe (PedGeometry* geom)
        }
 }
 
-#ifndef DISCOVER_ONLY
-static int
-jfs_clobber (PedGeometry* geom)
-{
-       char    buf[512];
-
-       memset (buf, 0, 512);
-       return ped_geometry_write (geom, buf, JFS_SUPER_SECTOR, 1);
-}
-#endif /* !DISCOVER_ONLY */
-
 static PedFileSystemOps jfs_ops = {
        probe:          jfs_probe,
 };