Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 372894 Details for
Bug 477758
sys-fs/xfsprogs - Various uClibc fixes for xfsprogs-4.3.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xfsprogs-use-statfs.patch
xfsprogs-use-statfs.patch (text/plain), 853 bytes, created by
René Rhéaume
on 2014-03-17 23:36:43 UTC
(
hide
)
Description:
xfsprogs-use-statfs.patch
Filename:
MIME Type:
Creator:
René Rhéaume
Created:
2014-03-17 23:36:43 UTC
Size:
853 bytes
patch
obsolete
>--- xfsprogs-3.1.10/libxfs/linux.c >+++ xfsprogs-3.1.10-statfs/libxfs/linux.c >@@ -21,7 +21,7 @@ > #include <mntent.h> > #include <sys/stat.h> > #undef ustat >-#include <sys/ustat.h> >+#include <sys/statfs.h> > #include <sys/mount.h> > #include <sys/ioctl.h> > #include <sys/sysinfo.h> >@@ -49,9 +49,8 @@ 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; >+ struct statfs ust; >+ struct stat64 st; > > if (!s) { > if (stat64(block, &st) < 0) >@@ -61,7 +60,7 @@ platform_check_ismounted(char *name, cha > s = &st; > } > >- if (ustat(s->st_rdev, ust) >= 0) { >+ if (statfs(name, &ust) >= 0) { > if (verbose) > fprintf(stderr, > _("%s: %s contains a mounted filesystem\n"),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 477758
:
372888
|
372890
|
372894
|
372896
|
372898
|
374830
|
406570
|
406572
|
421540
|
421542
|
421544
|
421546