constify dentry_operations: FUSE
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Feb 2009 05:59:13 +0000 (05:59 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Mar 2009 18:44:01 +0000 (14:44 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fuse/dir.c
fs/fuse/fuse_i.h

index fdff346e96fdc9dead4f9a00a081f5488fc4a9e3..06da05261e04a8a314881cee7e9e5988bc09c66a 100644 (file)
@@ -224,7 +224,7 @@ static int invalid_nodeid(u64 nodeid)
        return !nodeid || nodeid == FUSE_ROOT_ID;
 }
 
-struct dentry_operations fuse_dentry_operations = {
+const struct dentry_operations fuse_dentry_operations = {
        .d_revalidate   = fuse_dentry_revalidate,
 };
 
index 5e64b815a5a16d737e655c8deeb2729288da81fa..6fc5aedaa0d52b3d86d94bde490aa5711e47cfd1 100644 (file)
@@ -493,7 +493,7 @@ static inline u64 get_node_id(struct inode *inode)
 /** Device operations */
 extern const struct file_operations fuse_dev_operations;
 
-extern struct dentry_operations fuse_dentry_operations;
+extern const struct dentry_operations fuse_dentry_operations;
 
 /**
  * Get a filled in inode