[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/17] ufs: remove all-but-probe FS-related code
From: |
Jim Meyering |
Subject: |
[PATCH 09/17] ufs: remove all-but-probe FS-related code |
Date: |
Fri, 27 May 2011 17:15:28 +0200 |
From: Jim Meyering <address@hidden>
---
libparted/fs/ufs/Makefile.am | 1 +
libparted/fs/ufs/ufs.c | 15 ---------------
2 files changed, 1 insertions(+), 15 deletions(-)
diff --git a/libparted/fs/ufs/Makefile.am b/libparted/fs/ufs/Makefile.am
index e913c2d..c63e8d2 100644
--- a/libparted/fs/ufs/Makefile.am
+++ b/libparted/fs/ufs/Makefile.am
@@ -1,3 +1,4 @@
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
partedincludedir = -I$(top_srcdir)/include
noinst_LTLIBRARIES = libufs.la
diff --git a/libparted/fs/ufs/ufs.c b/libparted/fs/ufs/ufs.c
index d082b1d..3dc198e 100644
--- a/libparted/fs/ufs/ufs.c
+++ b/libparted/fs/ufs/ufs.c
@@ -242,21 +242,6 @@ ufs_probe_hp (PedGeometry* geom)
return NULL;
}
-#ifndef DISCOVER_ONLY
-static int
-ufs_clobber (PedGeometry* geom)
-{
- char buf[1536];
-
- if (!ped_geometry_read (geom, buf, 16, 3))
- return 0;
-
- memset (buf, 0, sizeof(struct ufs_super_block));
-
- return ped_geometry_write (geom, buf, 16, 3);
-}
-#endif /* !DISCOVER_ONLY */
-
static PedFileSystemOps ufs_ops_sun = {
probe: ufs_probe_sun,
};
--
1.7.5.2.660.g9f46c
- remove nearly all file-system-aware code from Parted, Jim Meyering, 2011/05/27
- [PATCH 06/17] ntfs: remove all-but-probe FS-related code, Jim Meyering, 2011/05/27
- [PATCH 11/17] xfs: remove all-but-probe FS-related code, Jim Meyering, 2011/05/27
- [PATCH 14/17] maint: update po/POTFILES.in, Jim Meyering, 2011/05/27
- [PATCH 10/17] jfs: remove all-but-probe FS-related code, Jim Meyering, 2011/05/27
- [PATCH 09/17] ufs: remove all-but-probe FS-related code,
Jim Meyering <=
- [PATCH 12/17] linux_swap: remove all-but-probe FS-related code, Jim Meyering, 2011/05/27
- [PATCH 05/17] amiga: build with warning and error options, Jim Meyering, 2011/05/27
- [PATCH 16/17] build: remove configure-time options: --disable-fs, --enable-Werror, Jim Meyering, 2011/05/27
- [PATCH 15/17] tests: make t0220 more useful when it fails, Jim Meyering, 2011/05/27
- [PATCH 13/17] doc: remove FS-related documentation and other stale bits, Jim Meyering, 2011/05/27
- [PATCH 17/17] doc: reflect removal of FS-related commands, Jim Meyering, 2011/05/27
- [PATCH 01/17] UI: remove all file-system-aware sub-commands, Jim Meyering, 2011/05/27
- [PATCH 08/17] reiserfs: remove all-but-probe FS-related code, Jim Meyering, 2011/05/27
- [PATCH 02/17] remove all top-level FS-op code and the clearfat program, Jim Meyering, 2011/05/27
- [PATCH 04/17] ext2: remove all-but-probe FS-related code, Jim Meyering, 2011/05/27