From ade46c3a6029dea49dbc6c7734b0f6a78d3f104c Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Mon, 19 Sep 2016 21:42:06 +0200 Subject: ubifs: Export xattr get and set functions For fscrypto we need this function outside of xattr.c. Signed-off-by: Richard Weinberger --- fs/ubifs/ubifs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fs/ubifs/ubifs.h') diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index fe94300d4c08..0f8a3ec6a7fe 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -1735,6 +1735,10 @@ extern const struct xattr_handler *ubifs_xattr_handlers[]; ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size); int ubifs_init_security(struct inode *dentry, struct inode *inode, const struct qstr *qstr); +int ubifs_xattr_set(struct inode *host, const char *name, const void *value, + size_t size, int flags); +ssize_t ubifs_xattr_get(struct inode *host, const char *name, void *buf, + size_t size); /* super.c */ struct inode *ubifs_iget(struct super_block *sb, unsigned long inum); -- cgit v1.2.3