summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/xattr.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-05-14 02:53:15 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-22 00:31:18 +0200
commitf01cbd3f8148f2056567f829e07c157b28b2dd1e (patch)
tree18d4a35bf25c9e17e11ce7a42015fae8ca5d009e /fs/btrfs/xattr.c
parentfs: xattr_handler table should be const (diff)
downloadlinux-f01cbd3f8148f2056567f829e07c157b28b2dd1e.tar.xz
linux-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.c')
-rw-r--r--fs/btrfs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/xattr.c b/fs/btrfs/xattr.c
index 193b58f7d3f3..59acd3eb288a 100644
--- a/fs/btrfs/xattr.c
+++ b/fs/btrfs/xattr.c
@@ -282,7 +282,7 @@ err:
* List of handlers for synthetic system.* attributes. All real ondisk
* attributes are handled directly.
*/
-struct xattr_handler *btrfs_xattr_handlers[] = {
+const struct xattr_handler *btrfs_xattr_handlers[] = {
#ifdef CONFIG_BTRFS_FS_POSIX_ACL
&btrfs_xattr_acl_access_handler,
&btrfs_xattr_acl_default_handler,