[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/17] ntfs: remove all-but-probe FS-related code
From: |
Jim Meyering |
Subject: |
[PATCH 06/17] ntfs: remove all-but-probe FS-related code |
Date: |
Fri, 27 May 2011 17:15:25 +0200 |
From: Jim Meyering <address@hidden>
---
libparted/fs/ntfs/Makefile.am | 1 +
libparted/fs/ntfs/ntfs.c | 11 -----------
2 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/libparted/fs/ntfs/Makefile.am b/libparted/fs/ntfs/Makefile.am
index 30fca41..732692a 100644
--- a/libparted/fs/ntfs/Makefile.am
+++ b/libparted/fs/ntfs/Makefile.am
@@ -1,3 +1,4 @@
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
partedincludedir = -I$(top_srcdir)/include
noinst_LTLIBRARIES = libntfs.la
diff --git a/libparted/fs/ntfs/ntfs.c b/libparted/fs/ntfs/ntfs.c
index 7cb1db4..da69497 100644
--- a/libparted/fs/ntfs/ntfs.c
+++ b/libparted/fs/ntfs/ntfs.c
@@ -50,17 +50,6 @@ ntfs_probe (PedGeometry* geom)
return NULL;
}
-#ifndef DISCOVER_ONLY
-static int
-ntfs_clobber (PedGeometry* geom)
-{
- char buf[512];
-
- memset (buf, 0, 512);
- return ped_geometry_write (geom, buf, 0, 1);
-}
-#endif /* !DISCOVER_ONLY */
-
static PedFileSystemOps ntfs_ops = {
probe: ntfs_probe,
};
--
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 <=
- [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, 2011/05/27
- [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