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-9183 ptlrpc: handle posix_acl: xattr representation cleanups
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nodemap_handler.c
diff --git
a/lustre/ptlrpc/nodemap_handler.c
b/lustre/ptlrpc/nodemap_handler.c
index
b438dda
..
1ea5c7c
100644
(file)
--- a/
lustre/ptlrpc/nodemap_handler.c
+++ b/
lustre/ptlrpc/nodemap_handler.c
@@
-696,7
+696,7
@@
ssize_t nodemap_map_acl(struct lu_nodemap *nodemap, void *buf, size_t size,
enum nodemap_tree_type tree_type)
{
posix_acl_xattr_header *header = buf;
enum nodemap_tree_type tree_type)
{
posix_acl_xattr_header *header = buf;
- posix_acl_xattr_entry *entry =
&header->a_entries[0]
;
+ posix_acl_xattr_entry *entry =
GET_POSIX_ACL_XATTR_ENTRY(header)
;
posix_acl_xattr_entry *new_entry = entry;
posix_acl_xattr_entry *end;
int count;
posix_acl_xattr_entry *new_entry = entry;
posix_acl_xattr_entry *end;
int count;