summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/xattr.h
diff options
context:
space:
mode:
authorStephen Hemminger2010-05-14 02:53:22 +0200
committerAl Viro2010-05-22 00:31:20 +0200
commit537d81ca7c5338e4f13f3e7e7b50e87ba293ec68 (patch)
tree7dd6ece3385c60dedc4c9d556ab4e7d38c8cc7e9 /fs/ocfs2/xattr.h
parentjffs2: constify xattr_handler (diff)
downloadkernel-qcow2-linux-537d81ca7c5338e4f13f3e7e7b50e87ba293ec68.tar.gz
kernel-qcow2-linux-537d81ca7c5338e4f13f3e7e7b50e87ba293ec68.tar.xz
kernel-qcow2-linux-537d81ca7c5338e4f13f3e7e7b50e87ba293ec68.zip
ocfs: 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/ocfs2/xattr.h')
-rw-r--r--fs/ocfs2/xattr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ocfs2/xattr.h b/fs/ocfs2/xattr.h
index abd72a47f520..aa64bb37a65b 100644
--- a/fs/ocfs2/xattr.h
+++ b/fs/ocfs2/xattr.h
@@ -37,12 +37,12 @@ struct ocfs2_security_xattr_info {
size_t value_len;
};
-extern struct xattr_handler ocfs2_xattr_user_handler;
-extern struct xattr_handler ocfs2_xattr_trusted_handler;
-extern struct xattr_handler ocfs2_xattr_security_handler;
-extern struct xattr_handler ocfs2_xattr_acl_access_handler;
-extern struct xattr_handler ocfs2_xattr_acl_default_handler;
-extern struct xattr_handler *ocfs2_xattr_handlers[];
+extern const struct xattr_handler ocfs2_xattr_user_handler;
+extern const struct xattr_handler ocfs2_xattr_trusted_handler;
+extern const struct xattr_handler ocfs2_xattr_security_handler;
+extern const struct xattr_handler ocfs2_xattr_acl_access_handler;
+extern const struct xattr_handler ocfs2_xattr_acl_default_handler;
+extern const struct xattr_handler *ocfs2_xattr_handlers[];
ssize_t ocfs2_listxattr(struct dentry *, char *, size_t);
int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int,