Whamcloud - gitweb
LU-13430 vfs: add ll_vfs_getxattr/ll_vfs_setxattr compat macro 75/38175/2
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 6 Apr 2020 09:29:10 +0000 (09:29 +0000)
committerOleg Drokin <green@whamcloud.com>
Sun, 19 Apr 2020 08:45:15 +0000 (08:45 +0000)
commitdcd5607ce0b35c256a7e2ec7cdca642961219c07
tree82ac411336840f71a8b2a3ae333fc118ddaf0891
parentbf952126b6adf54d164720dc10379478a62a1b2b
LU-13430 vfs: add ll_vfs_getxattr/ll_vfs_setxattr compat macro

Instead of checking everywhere in the code whether kernel defines
__vfs_getxattr/__vfs_setxattr/__vfs_removexattr, define compat macros
to handle this in lustre_compat.h.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iabb54c41e6ccc4b9524f614308a4cd98c5a7ec55
Reviewed-on: https://review.whamcloud.com/38175
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_compat.h
lustre/llite/pcc.c
lustre/llite/xattr_security.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_scrub.c