Whamcloud - gitweb
LU-9951 lustre_compat: add wrapper function for posix_acl_update_mode 80/29880/2
authorGu Zheng <gzheng@ddn.com>
Wed, 18 Oct 2017 19:10:53 +0000 (15:10 -0400)
committerJohn L. Hammond <john.hammond@intel.com>
Fri, 17 Nov 2017 00:27:34 +0000 (00:27 +0000)
commit53c5e392ac10e6d4db6b127f4471530dea0d103d
tree97de64ff2451e7046d372f002c178d2223abfdd3
parentf74cafb93d385e5a425424f7bad4e9b36cc3aad4
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.

Lustre-change: https://review.whamcloud.com/28871
Lutre-commit: ec6bdd55bb2128dcf9779017ef9623461afe05f8

Change-Id: I8a1476d611c387a88efef5d5b8707edf5feacca8
Signed-off-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/29880
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h