diff options
author | Richard Weinberger <richard@nod.at> | 2016-09-19 21:42:06 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2016-12-12 23:07:38 +0100 |
commit | ade46c3a6029dea49dbc6c7734b0f6a78d3f104c (patch) | |
tree | 53342245590e3ea5d0f8a0ca954ed22beb456033 /fs/ubifs/ubifs.h | |
parent | f6337d842668ad47f01d5f2dcd3730484f09d6fa (diff) | |
download | linux-ade46c3a6029dea49dbc6c7734b0f6a78d3f104c.tar.bz2 |
ubifs: Export xattr get and set functions
For fscrypto we need this function outside of xattr.c.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r-- | fs/ubifs/ubifs.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |