define XATTR_CREATE/XATTR_REPLACE for systems with old headers

This commit is contained in:
Kent Overstreet 2019-04-11 00:31:22 -04:00
parent 0abf87f973
commit f652fdc962

View File

@ -16,6 +16,14 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <uapi/linux/xattr.h> #include <uapi/linux/xattr.h>
#ifndef XATTR_CREATE
#define XATTR_CREATE 0x1
#endif
#ifndef XATTR_REPLACE
#define XATTR_REPLACE 0x2
#endif
struct inode; struct inode;
struct dentry; struct dentry;