]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
constify dentry_operations: ecryptfs
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Feb 2009 05:57:52 +0000 (05:57 +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/ecryptfs/dentry.c
fs/ecryptfs/ecryptfs_kernel.h

index 5e596583946c9de4eab193be422c93b8700815a0..2dda5ade75bc78a06461d0b62fbb9f74bde28678 100644 (file)
@@ -89,7 +89,7 @@ static void ecryptfs_d_release(struct dentry *dentry)
        return;
 }
 
-struct dentry_operations ecryptfs_dops = {
+const struct dentry_operations ecryptfs_dops = {
        .d_revalidate = ecryptfs_d_revalidate,
        .d_release = ecryptfs_d_release,
 };
index ac749d4d644fe383caca23093f43b65ffd2c9ba8..064c5820e4e50dc3ba53b320b518a9e3c4ba7caa 100644 (file)
@@ -580,7 +580,7 @@ extern const struct inode_operations ecryptfs_main_iops;
 extern const struct inode_operations ecryptfs_dir_iops;
 extern const struct inode_operations ecryptfs_symlink_iops;
 extern const struct super_operations ecryptfs_sops;
-extern struct dentry_operations ecryptfs_dops;
+extern const struct dentry_operations ecryptfs_dops;
 extern struct address_space_operations ecryptfs_aops;
 extern int ecryptfs_verbosity;
 extern unsigned int ecryptfs_message_buf_len;