Whamcloud - gitweb
LU-9951 lustre_compat: add wrapper function for posix_acl_update_mode 71/28871/9
authorGu Zheng <gzheng@ddn.com>
Wed, 18 Oct 2017 19:10:53 +0000 (15:10 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 1 Nov 2017 04:57:36 +0000 (04:57 +0000)
commitec6bdd55bb2128dcf9779017ef9623461afe05f8
treeaad7c7d6a84187403e40f16517d8cf2945ea1c8c
parent1defa62a19e71c021ec2cf9fc9e0481e9ab962e0
LU-9951 lustre_compat: add wrapper function for posix_acl_update_mode

posix_acl_update_mode is introduced in kernel 4.9, add the precheck
of it, if not exists, use inline wrapper function instead.

Change-Id: I8a1476d611c387a88efef5d5b8707edf5feacca8
Signed-off-by: Gu Zheng <gzheng@ddn.com>
Reviewed-on: https://review.whamcloud.com/28871
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.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