summaryrefslogtreecommitdiffstats
path: root/fs/ext2/xattr.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-05-13 17:53:16 -0700
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-21 18:31:18 -0400
commit749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef (patch)
tree3c475251243b0e8c686daed4ae1113efbaf49d6e /fs/ext2/xattr.h
parentf01cbd3f8148f2056567f829e07c157b28b2dd1e (diff)
downloadop-kernel-dev-749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef.zip
op-kernel-dev-749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef.tar.gz
ext2: constify xattr_handler
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/xattr.h')
-rw-r--r--fs/ext2/xattr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ext2/xattr.h b/fs/ext2/xattr.h
index bf8175b..a1a1c21 100644
--- a/fs/ext2/xattr.h
+++ b/fs/ext2/xattr.h
@@ -55,11 +55,11 @@ struct ext2_xattr_entry {
# ifdef CONFIG_EXT2_FS_XATTR
-extern struct xattr_handler ext2_xattr_user_handler;
-extern struct xattr_handler ext2_xattr_trusted_handler;
-extern struct xattr_handler ext2_xattr_acl_access_handler;
-extern struct xattr_handler ext2_xattr_acl_default_handler;
-extern struct xattr_handler ext2_xattr_security_handler;
+extern const struct xattr_handler ext2_xattr_user_handler;
+extern const struct xattr_handler ext2_xattr_trusted_handler;
+extern const struct xattr_handler ext2_xattr_acl_access_handler;
+extern const struct xattr_handler ext2_xattr_acl_default_handler;
+extern const struct xattr_handler ext2_xattr_security_handler;
extern ssize_t ext2_listxattr(struct dentry *, char *, size_t);
@@ -72,7 +72,7 @@ extern void ext2_xattr_put_super(struct super_block *);
extern int init_ext2_xattr(void);
extern void exit_ext2_xattr(void);
-extern struct xattr_handler *ext2_xattr_handlers[];
+extern const struct xattr_handler *ext2_xattr_handlers[];
# else /* CONFIG_EXT2_FS_XATTR */
OpenPOWER on IntegriCloud