summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-02-20 07:02:22 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2009-03-27 19:44:03 +0100
commit3ba13d179e8c24c68eac32b93593a6b10fcd1572 (patch)
tree732162ba9ddfe66c8e892a25765cb30f0807cf31 /net/socket.c
parentconstify dentry_operations: configfs (diff)
downloadlinux-3ba13d179e8c24c68eac32b93593a6b10fcd1572.tar.xz
linux-3ba13d179e8c24c68eac32b93593a6b10fcd1572.zip
constify dentry_operations: rest
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 35dd7371752a..2f895f60ca8a 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -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,
};