diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-05-13 17:53:22 -0700 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-21 18:31:20 -0400 |
commit | 537d81ca7c5338e4f13f3e7e7b50e87ba293ec68 (patch) | |
tree | 7dd6ece3385c60dedc4c9d556ab4e7d38c8cc7e9 /fs/ocfs2/xattr.h | |
parent | 365f0cb9d2d5eea911798935133e8dd27ea5f3fc (diff) | |
download | linux-537d81ca7c5338e4f13f3e7e7b50e87ba293ec68.tar.gz linux-537d81ca7c5338e4f13f3e7e7b50e87ba293ec68.tar.bz2 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.h | 12 |
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, |