summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/super.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-09-22 02:01:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-22 16:17:24 +0200
commitac4cfdd6d141c319a7af8655f750ed504c187a74 (patch)
tree2143509e0d585667203892a5036676e955273e52 /fs/jffs2/super.c
parentconst: mark remaining super_operations const (diff)
downloadlinux-ac4cfdd6d141c319a7af8655f750ed504c187a74.tar.xz
linux-ac4cfdd6d141c319a7af8655f750ed504c187a74.zip
const: mark remaining export_operations const
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jffs2/super.c')
-rw-r--r--fs/jffs2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index 0035c021395a..9a80e8e595d0 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -123,7 +123,7 @@ static struct dentry *jffs2_get_parent(struct dentry *child)
return d_obtain_alias(jffs2_iget(child->d_inode->i_sb, pino));
}
-static struct export_operations jffs2_export_ops = {
+static const struct export_operations jffs2_export_ops = {
.get_parent = jffs2_get_parent,
.fh_to_dentry = jffs2_fh_to_dentry,
.fh_to_parent = jffs2_fh_to_parent,