summaryrefslogtreecommitdiffstats
path: root/fs/ext2/acl.c
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/acl.c
parentf01cbd3f8148f2056567f829e07c157b28b2dd1e (diff)
downloadlinux-749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef.tar.gz
linux-749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef.tar.bz2
linux-749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef.zip
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/acl.c')
-rw-r--r--fs/ext2/acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c
index a99e54318c3d..ca7e2a0ed98a 100644
--- a/fs/ext2/acl.c
+++ b/fs/ext2/acl.c
@@ -420,7 +420,7 @@ release_and_out:
return error;
}
-struct xattr_handler ext2_xattr_acl_access_handler = {
+const struct xattr_handler ext2_xattr_acl_access_handler = {
.prefix = POSIX_ACL_XATTR_ACCESS,
.flags = ACL_TYPE_ACCESS,
.list = ext2_xattr_list_acl_access,
@@ -428,7 +428,7 @@ struct xattr_handler ext2_xattr_acl_access_handler = {
.set = ext2_xattr_set_acl,
};
-struct xattr_handler ext2_xattr_acl_default_handler = {
+const struct xattr_handler ext2_xattr_acl_default_handler = {
.prefix = POSIX_ACL_XATTR_DEFAULT,
.flags = ACL_TYPE_DEFAULT,
.list = ext2_xattr_list_acl_default,