c5c4a2a2ade56fef292f2aa78c348e9fb6ef867d
[openwrt/openwrt.git] / package / utils / xfsprogs / patches / 130-uclibc_no_xattr.patch
1 commit 10d6058b24f18cb31889154f830b191849f45106
2 Author: Jens Muecke <jens@nons.de>
3 Date: Thu Jan 26 00:38:27 2012 +0100
4
5 130-uclibc_no_xattr
6
7 --- a/fsr/xfs_fsr.c
8 +++ b/fsr/xfs_fsr.c
9 @@ -35,7 +35,6 @@
10 #include <sys/wait.h>
11 #include <sys/vfs.h>
12 #include <sys/statvfs.h>
13 -#include <sys/xattr.h>
14
15
16 #ifndef XFS_XFLAG_NODEFRAG
17 @@ -990,6 +989,7 @@ fsr_setup_attr_fork(
18 int tfd,
19 xfs_bstat_t *bstatp)
20 {
21 +#if 0
22 struct stat64 tstatbuf;
23 int i;
24 int last_forkoff = 0;
25 @@ -1108,6 +1108,7 @@ fsr_setup_attr_fork(
26 out:
27 if (dflag)
28 fsrprintf(_("set temp attr\n"));
29 +#endif
30 return 0;
31 }
32