Update xfsprogs to 3.1.4 to 3.1.7
[openwrt/openwrt.git] / package / xfsprogs / patches / 110-uclibc_no_ustat.patch
index 9cd2dc2bb9f95171042a6b5c3aead9c983539cd2..c46e8025cd7c9dce529fdf8407a189aaf274682a 100644 (file)
@@ -1,3 +1,11 @@
+commit 7b1d0a98e779170232c0a81b4749ab934ec67a7e
+Author: Jens Muecke <jens@nons.de>
+Date:   Thu Jan 26 00:36:42 2012 +0100
+
+    110-uclibc_no_ustat
+
+diff --git a/libxfs/linux.c b/libxfs/linux.c
+index 2e07d54..6a6c905 100644
 --- a/libxfs/linux.c
 +++ b/libxfs/linux.c
 @@ -21,7 +21,9 @@
@@ -18,7 +26,7 @@
        /* Pad ust; pre-2.6.28 linux copies out too much in 32bit compat mode */
        struct ustat    ust[2];
        struct stat64   st;
-@@ -68,6 +71,7 @@ platform_check_ismounted(char *name, cha
+@@ -68,6 +71,7 @@ platform_check_ismounted(char *name, char *block, struct stat64 *s, int verbose)
                                progname, name);
                return 1;
        }