X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fxattr_compat.h;h=84d8fdeb89366d4002cf8083e62699581bd7e8fe;hb=e77aa730bc9d7ac80aac56b68f9cf7d51b275a29;hp=9878aab72536061ed84760bd9a05be6835253d49;hpb=f9637c6c8b9c452c440a366aa937b363f027d95e;p=zfs.git diff --git a/include/linux/xattr_compat.h b/include/linux/xattr_compat.h index 9878aab..84d8fde 100644 --- a/include/linux/xattr_compat.h +++ b/include/linux/xattr_compat.h @@ -84,4 +84,12 @@ fn(struct inode *ip, const char *name, const void *buffer, \ } #endif /* HAVE_DENTRY_XATTR_SET */ +#ifdef HAVE_6ARGS_SECURITY_INODE_INIT_SECURITY +#define zpl_security_inode_init_security(ip, dip, qstr, nm, val, len) \ + security_inode_init_security(ip, dip, qstr, nm, val, len) +#else +#define zpl_security_inode_init_security(ip, dip, qstr, nm, val, len) \ + security_inode_init_security(ip, dip, nm, val, len) +#endif /* HAVE_6ARGS_SECURITY_INODE_INIT_SECURITY */ + #endif /* _ZFS_XATTR_H */