1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 19:22:01 +03:00
openwrt-xburst/package/xfsprogs/patches/130-uclibc_no_xattr.patch
ryd c0f7b08bdc Update xfsprogs to 3.1.4 to 3.1.7
Changelog at http://xfs.org/index.php/XFS_Status_Updates



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 21:30:31 +00:00

37 lines
717 B
Diff

commit 10d6058b24f18cb31889154f830b191849f45106
Author: Jens Muecke <jens@nons.de>
Date: Thu Jan 26 00:38:27 2012 +0100
130-uclibc_no_xattr
diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c
index 40c2e6f..4f54059 100644
--- a/fsr/xfs_fsr.c
+++ b/fsr/xfs_fsr.c
@@ -35,7 +35,9 @@
#include <sys/wait.h>
#include <sys/vfs.h>
#include <sys/statvfs.h>
+#ifndef __UCLIBC__
#include <sys/xattr.h>
+#endif
#ifndef XFS_XFLAG_NODEFRAG
@@ -990,6 +992,7 @@ fsr_setup_attr_fork(
int tfd,
xfs_bstat_t *bstatp)
{
+#ifndef __UCLIBC__
struct stat64 tstatbuf;
int i;
int last_forkoff = 0;
@@ -1108,6 +1111,7 @@ fsr_setup_attr_fork(
out:
if (dflag)
fsrprintf(_("set temp attr\n"));
+#endif
return 0;
}