diff options
author | Jim Meyering <meyering@redhat.com> | 2011-05-16 15:47:02 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-05-27 17:07:46 +0200 |
commit | c41f1c872e9e8389779bde44aca2f134461cc0b2 (patch) | |
tree | 4940acc3c387f85e1db09918c35711e685d26342 /libparted/fs/xfs/xfs.c | |
parent | c1ea4360e29361cdf6db0ff76659d4c4d786ad00 (diff) | |
download | parted-c41f1c872e9e8389779bde44aca2f134461cc0b2.tar.gz |
xfs: remove all-but-probe FS-related code
Diffstat (limited to 'libparted/fs/xfs/xfs.c')
-rw-r--r-- | libparted/fs/xfs/xfs.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libparted/fs/xfs/xfs.c b/libparted/fs/xfs/xfs.c index 21a0c03..9b9edc1 100644 --- a/libparted/fs/xfs/xfs.c +++ b/libparted/fs/xfs/xfs.c @@ -69,17 +69,6 @@ xfs_probe (PedGeometry* geom) return NULL; } -#ifndef DISCOVER_ONLY -static int -xfs_clobber (PedGeometry* geom) -{ - char buf[512]; - - memset (buf, 0, 512); - return ped_geometry_write (geom, buf, XFS_SB_DADDR, 1); -} -#endif /* !DISCOVER_ONLY */ - static PedFileSystemOps xfs_ops = { probe: xfs_probe, }; |