* Ensure readdir(2) returns consistent (and unique) inode numbers. - Add xattr.patch to fix build with attr-2.4.48 OBS-URL: https://build.opensuse.org/package/show/filesystems/disorderfs?expand=0&rev=8
26 lines
684 B
Diff
26 lines
684 B
Diff
commit 387844fa06bf98d400b74007f267606620919a6e
|
|
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
|
|
Date: Sun Sep 16 06:07:11 2018 +0200
|
|
|
|
Use sys/xattr.h
|
|
|
|
from glibc, because libattr-2.4.48 dropped its xattr.h
|
|
|
|
Similar to
|
|
https://github.com/pmem/pmemfile/pull/253
|
|
https://github.com/rpm-software-management/librepo/pull/122
|
|
|
|
diff --git a/disorderfs.cpp b/disorderfs.cpp
|
|
index aa83ab2..abdbd67 100644
|
|
--- a/disorderfs.cpp
|
|
+++ b/disorderfs.cpp
|
|
@@ -37,7 +37,7 @@ extern "C" {
|
|
#include <vector>
|
|
#include <random>
|
|
#include <algorithm>
|
|
-#include <attr/xattr.h>
|
|
+#include <sys/xattr.h>
|
|
#include <sys/types.h>
|
|
#include <sys/syscall.h>
|
|
#include <sys/file.h>
|