diff options
author | Stefan Agner <stefan@agner.ch> | 2018-07-31 15:13:20 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-12-13 13:11:28 +0100 |
commit | 09733c33a1e232097653c96bd788848129c95c7e (patch) | |
tree | 8e0ddb7c773b6cbe135ccebf6dd9bb390f7ae351 /fs/ubifs/ubifs.h | |
parent | 77d474b70b8591b4b47934bedaf78e43d9f58b55 (diff) |
ubifs: introduce Kconfig symbol for xattr supportColibri-VF_LXDE-Image_2.8b5.156-20181228
Allow to disable extended attribute support.
This aids in reliability testing, especially since some xattr
related bugs have surfaced.
Also an embedded system might not need it, so this allows for a
slightly smaller kernel (about 4KiB).
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 7e5471ce6dba5f28a3c7afdfe168655d236f677b)
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r-- | fs/ubifs/ubifs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index f4238c940fb7..e39752b9b2a5 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -1761,7 +1761,9 @@ int ubifs_setxattr(struct dentry *dentry, const char *name, ssize_t ubifs_getxattr(struct dentry *dentry, const char *name, void *buf, size_t size); ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size); +#ifdef CONFIG_UBIFS_FS_XATTR int ubifs_removexattr(struct dentry *dentry, const char *name); +#endif #ifdef CONFIG_UBIFS_FS_SECURITY extern int ubifs_init_security(struct inode *dentry, struct inode *inode, |