Explorar el Código

fs/internal.h: add const to ns_dentry_operations declaration

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>
Rasmus Villemoes hace 9 años
padre
commit
be218aa2e3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      fs/internal.h

+ 1 - 1
fs/internal.h

@@ -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