summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/xattr_user.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_user.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 '')
-rw-r--r--fs/jffs2/xattr_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/xattr_user.c b/fs/jffs2/xattr_user.c
index 8544af67dffe..916b5c966039 100644
--- a/fs/jffs2/xattr_user.c
+++ b/fs/jffs2/xattr_user.c
@@ -47,7 +47,7 @@ static size_t jffs2_user_listxattr(struct dentry *dentry, char *list,
return retlen;
}
-struct xattr_handler jffs2_user_xattr_handler = {
+const struct xattr_handler jffs2_user_xattr_handler = {
.prefix = XATTR_USER_PREFIX,
.list = jffs2_user_listxattr,
.set = jffs2_user_setxattr,