diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-09-29 17:48:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-16 07:22:13 +0200 |
commit | 976af92507adf6820e743f25f34739f8535c1079 (patch) | |
tree | 2eb3f9ef1e59a71e5bea2114ae2629d8ab963105 | |
parent | vfs: make the string hashes salt the hash (diff) | |
download | rtems-976af92507adf6820e743f25f34739f8535c1079.tar.bz2 |
jffs2: Remove jffs2_{get,set,remove}xattr macros
When CONFIG_JFFS2_FS_XATTR is off, jffs2_xattr_handlers is defined as
NULL. With sb->s_xattr == NULL, the generic_{get,set,remove}xattr
functions produce the same result as setting the {get,set,remove}xattr
inode operations to NULL, so there is no need for these macros.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | cpukit/libfs/src/jffs2/src/xattr.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/libfs/src/jffs2/src/xattr.h b/cpukit/libfs/src/jffs2/src/xattr.h index 467ff376ee..720007b2fd 100644 --- a/cpukit/libfs/src/jffs2/src/xattr.h +++ b/cpukit/libfs/src/jffs2/src/xattr.h @@ -99,9 +99,6 @@ extern const struct xattr_handler jffs2_user_xattr_handler; extern const struct xattr_handler jffs2_trusted_xattr_handler; extern ssize_t jffs2_listxattr(struct dentry *, char *, size_t); -#define jffs2_getxattr generic_getxattr -#define jffs2_setxattr generic_setxattr -#define jffs2_removexattr generic_removexattr #else @@ -116,9 +113,6 @@ extern ssize_t jffs2_listxattr(struct dentry *, char *, size_t); #define jffs2_xattr_handlers NULL #define jffs2_listxattr NULL -#define jffs2_getxattr NULL -#define jffs2_setxattr NULL -#define jffs2_removexattr NULL #endif /* CONFIG_JFFS2_FS_XATTR */ |