summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/xattr.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-05-13 17:53:15 -0700
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-21 18:31:18 -0400
commitf01cbd3f8148f2056567f829e07c157b28b2dd1e (patch)
tree18d4a35bf25c9e17e11ce7a42015fae8ca5d009e /fs/btrfs/xattr.h
parentbb4354538eb7b92f32cfedbad68c7be266c0b467 (diff)
downloadlinux-stable-f01cbd3f8148f2056567f829e07c157b28b2dd1e.tar.gz
linux-stable-f01cbd3f8148f2056567f829e07c157b28b2dd1e.tar.bz2
linux-stable-f01cbd3f8148f2056567f829e07c157b28b2dd1e.zip
btrfs: 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/btrfs/xattr.h')
-rw-r--r--fs/btrfs/xattr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/xattr.h b/fs/btrfs/xattr.h
index 721efa0346e0..7a43fd640bbb 100644
--- a/fs/btrfs/xattr.h
+++ b/fs/btrfs/xattr.h
@@ -21,9 +21,9 @@
#include <linux/xattr.h>
-extern struct xattr_handler btrfs_xattr_acl_access_handler;
-extern struct xattr_handler btrfs_xattr_acl_default_handler;
-extern struct xattr_handler *btrfs_xattr_handlers[];
+extern const struct xattr_handler btrfs_xattr_acl_access_handler;
+extern const struct xattr_handler btrfs_xattr_acl_default_handler;
+extern const struct xattr_handler *btrfs_xattr_handlers[];
extern ssize_t __btrfs_getxattr(struct inode *inode, const char *name,
void *buffer, size_t size);