diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-05-13 17:53:16 -0700 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-21 18:31:18 -0400 |
commit | 749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef (patch) | |
tree | 3c475251243b0e8c686daed4ae1113efbaf49d6e /fs/ext2/acl.c | |
parent | f01cbd3f8148f2056567f829e07c157b28b2dd1e (diff) | |
download | op-kernel-dev-749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef.zip op-kernel-dev-749c72efa4bd91dad3a8c2ac8bfaa7c45490ceef.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c index a99e543..ca7e2a0 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, |