Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-9003 mdc: support posix_acl_valid with user namespace
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
linux-fs.h
diff --git
a/libcfs/include/libcfs/linux/linux-fs.h
b/libcfs/include/libcfs/linux/linux-fs.h
index
ce001ca
..
59d9874
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-fs.h
+++ b/
libcfs/include/libcfs/linux/linux-fs.h
@@
-95,4
+95,8
@@
static inline struct dentry *file_dentry(const struct file *file)
#define posix_acl_from_xattr(a,b,c) posix_acl_from_xattr(b,c)
#define posix_acl_to_xattr(a,b,c,d) posix_acl_to_xattr(b,c,d)
#endif
+
+#ifndef HAVE_POSIX_ACL_VALID_USER_NS
+#define posix_acl_valid(a,b) posix_acl_valid(b)
+#endif
#endif