mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
config: remove HAVE_XATTR_LIST_SIMPLE
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16479
This commit is contained in:
@@ -40,16 +40,12 @@ typedef const struct xattr_handler xattr_handler_t;
|
||||
/*
|
||||
* 4.5 API change,
|
||||
*/
|
||||
#if defined(HAVE_XATTR_LIST_SIMPLE)
|
||||
#define ZPL_XATTR_LIST_WRAPPER(fn) \
|
||||
static bool \
|
||||
fn(struct dentry *dentry) \
|
||||
{ \
|
||||
return (!!__ ## fn(dentry->d_inode, NULL, 0, NULL, 0)); \
|
||||
}
|
||||
#else
|
||||
#error "Unsupported kernel"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 4.7 API change,
|
||||
|
||||
Reference in New Issue
Block a user