summaryrefslogtreecommitdiff
path: root/package/xfsprogs/patches/patch-libxfs_linux_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-12 22:58:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-12 22:58:45 +0100
commitd29b7059e0e3dacc3e051c310eabaecabe19a8d2 (patch)
tree078693d3be8a0d6096587f5ac01b2ffc76dc8626 /package/xfsprogs/patches/patch-libxfs_linux_c
parent4129680028eaddf98219126f787b08551bbf7088 (diff)
updates and build fixes for a lot of packages
compiled for ibmx40 with eglibc.
Diffstat (limited to 'package/xfsprogs/patches/patch-libxfs_linux_c')
-rw-r--r--package/xfsprogs/patches/patch-libxfs_linux_c37
1 files changed, 0 insertions, 37 deletions
diff --git a/package/xfsprogs/patches/patch-libxfs_linux_c b/package/xfsprogs/patches/patch-libxfs_linux_c
deleted file mode 100644
index a2cd55bd4..000000000
--- a/package/xfsprogs/patches/patch-libxfs_linux_c
+++ /dev/null
@@ -1,37 +0,0 @@
---- xfsprogs-3.1.1.orig/libxfs/linux.c 2010-01-29 20:46:13.000000000 +0100
-+++ xfsprogs-3.1.1/libxfs/linux.c 2010-02-13 23:45:27.000000000 +0100
-@@ -20,8 +20,6 @@
- #include <xfs/libxfs.h>
- #include <mntent.h>
- #include <sys/stat.h>
--#undef ustat
--#include <sys/ustat.h>
- #include <sys/mount.h>
- #include <sys/ioctl.h>
- #include <sys/sysinfo.h>
-@@ -49,25 +47,6 @@ static int max_block_alignment;
- int
- platform_check_ismounted(char *name, char *block, struct stat64 *s, int verbose)
- {
-- /* Pad ust; pre-2.6.28 linux copies out too much in 32bit compat mode */
-- struct ustat ust[2];
-- struct stat64 st;
--
-- if (!s) {
-- if (stat64(block, &st) < 0)
-- return 0;
-- if ((st.st_mode & S_IFMT) != S_IFBLK)
-- return 0;
-- s = &st;
-- }
--
-- if (ustat(s->st_rdev, ust) >= 0) {
-- if (verbose)
-- fprintf(stderr,
-- _("%s: %s contains a mounted filesystem\n"),
-- progname, name);
-- return 1;
-- }
- return 0;
- }
-