fs/internal.h: add const to ns_dentry_operations declaration
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 14 Sep 2016 22:15:34 +0000 (00:15 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 28 Sep 2016 01:45:46 +0000 (21:45 -0400)
The actual definition in fs/nsfs.c is already const.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/internal.h

index ba0737649d4a2db5d1b4ef23eb3595367c861018..39588788231563728e44ff14501228d0d96fe352 100644 (file)
@@ -156,7 +156,7 @@ extern void mnt_pin_kill(struct mount *m);
 /*
  * fs/nsfs.c
  */
-extern struct dentry_operations ns_dentry_operations;
+extern const struct dentry_operations ns_dentry_operations;
 
 /*
  * fs/ioctl.c