summaryrefslogtreecommitdiff
path: root/fs/jffs2/security.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-05-13 17:53:21 -0700
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-21 18:31:20 -0400
commit365f0cb9d2d5eea911798935133e8dd27ea5f3fc (patch)
treee5933598e73facb959e43cd374029a85e89e38de /fs/jffs2/security.c
parent46e58764f0c502847ed1f4662aa37eefa602a8f9 (diff)
jffs2: 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/jffs2/security.c')
-rw-r--r--fs/jffs2/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/security.c b/fs/jffs2/security.c
index eaccee058583..239f51216a68 100644
--- a/fs/jffs2/security.c
+++ b/fs/jffs2/security.c
@@ -77,7 +77,7 @@ static size_t jffs2_security_listxattr(struct dentry *dentry, char *list,
return retlen;
}
-struct xattr_handler jffs2_security_xattr_handler = {
+const struct xattr_handler jffs2_security_xattr_handler = {
.prefix = XATTR_SECURITY_PREFIX,
.list = jffs2_security_listxattr,
.set = jffs2_security_setxattr,