]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/socket.c
constify dentry_operations: rest
[net-next-2.6.git] / net / socket.c
index 35dd7371752a9448ff6162af9255ac0b0891ec35..2f895f60ca8a83b3763ad2425bc335e80438aa6e 100644 (file)
@@ -328,7 +328,7 @@ static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
                                dentry->d_inode->i_ino);
 }
 
-static struct dentry_operations sockfs_dentry_operations = {
+static const struct dentry_operations sockfs_dentry_operations = {
        .d_delete = sockfs_delete_dentry,
        .d_dname  = sockfs_dname,
 };