浏览代码

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 9 年之前
父节点
当前提交
be218aa2e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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