summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/xattr_trusted.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-05-14 02:53:21 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-22 00:31:20 +0200
commit365f0cb9d2d5eea911798935133e8dd27ea5f3fc (patch)
treee5933598e73facb959e43cd374029a85e89e38de /fs/jffs2/xattr_trusted.c
parentxfs: constify xattr_handler (diff)
downloadlinux-365f0cb9d2d5eea911798935133e8dd27ea5f3fc.tar.xz
linux-365f0cb9d2d5eea911798935133e8dd27ea5f3fc.zip
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/xattr_trusted.c')
-rw-r--r--fs/jffs2/xattr_trusted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/xattr_trusted.c b/fs/jffs2/xattr_trusted.c
index 3e5a5e356e05..1c868194c504 100644
--- a/fs/jffs2/xattr_trusted.c
+++ b/fs/jffs2/xattr_trusted.c
@@ -47,7 +47,7 @@ static size_t jffs2_trusted_listxattr(struct dentry *dentry, char *list,
return retlen;
}
-struct xattr_handler jffs2_trusted_xattr_handler = {
+const struct xattr_handler jffs2_trusted_xattr_handler = {
.prefix = XATTR_TRUSTED_PREFIX,
.list = jffs2_trusted_listxattr,
.set = jffs2_trusted_setxattr,