30 lines
713 B
C
30 lines
713 B
C
#ifndef FHGFSXATTRHANDLERS_H_
|
|
#define FHGFSXATTRHANDLERS_H_
|
|
|
|
#include <linux/xattr.h>
|
|
|
|
#if defined(KERNEL_HAS_CONST_XATTR_CONST_PTR_HANDLER)
|
|
|
|
#ifdef KERNEL_HAS_GET_ACL
|
|
extern const struct xattr_handler* const fhgfs_xattr_handlers[];
|
|
#endif
|
|
extern const struct xattr_handler* const fhgfs_xattr_handlers_noacl[];
|
|
|
|
#elif defined(KERNEL_HAS_CONST_XATTR_HANDLER)
|
|
|
|
#ifdef KERNEL_HAS_GET_ACL
|
|
extern const struct xattr_handler* fhgfs_xattr_handlers[];
|
|
#endif
|
|
extern const struct xattr_handler* fhgfs_xattr_handlers_noacl[];
|
|
|
|
#else
|
|
|
|
#ifdef KERNEL_HAS_GET_ACL
|
|
extern struct xattr_handler* fhgfs_xattr_handlers[];
|
|
#endif
|
|
extern struct xattr_handler* fhgfs_xattr_handlers_noacl[];
|
|
#endif
|
|
|
|
|
|
#endif /* FHGFSXATTRHANDLERS_H_ */
|