Whamcloud - gitweb
LU-9183 ptlrpc: handle posix_acl: xattr representation cleanups 92/25892/17
authorDmitry Eremin <dmitry.eremin@intel.com>
Tue, 7 Mar 2017 18:03:53 +0000 (21:03 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 24 May 2017 15:05:50 +0000 (15:05 +0000)
commitf7df2365bc51a7b2804f9b497cbc6bc340dd9da1
tree28d42d4fe2c90a0531ab03044c2f41fce4ac4485
parentae9d3bed51df1dfee7209ba2c2bc235504bc98d0
LU-9183 ptlrpc: handle posix_acl: xattr representation cleanups

In commit 2211d5ba5c6c4e972ba6dbc912b2897425ea6621 typedef of
posix_acl_xattr_{header,entry} was removed and replaced with
struct posix_acl_xattr_{header,entry} declaration. Also member
a_entries was removed from struct posix_acl_xattr_header.

Since we have to support older kernels this patch does the
opposite of what was done upstream in that we treat struct
posix_acl_xattr_{header,entry} of newer kernels as the typedef
used by older kernels.

Change-Id: I880f73d495dc6c35a1671b49e509350118f6e154
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: https://review.whamcloud.com/25892
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/include/lustre_eacl.h
lustre/mdd/mdd_permission.c
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/wiretest.c