aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-02-20 06:02:22 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2009-03-27 14:44:03 -0400
commit3ba13d179e8c24c68eac32b93593a6b10fcd1572 (patch)
tree732162ba9ddfe66c8e892a25765cb30f0807cf31 /net
parent296c2d86635bd6ecd8f282dfff18bb68fb4fc512 (diff)
constify dentry_operations: rest
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net')
-rw-r--r--net/socket.c2
-rw-r--r--net/sunrpc/rpc_pipe.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c
index 35dd7371752..2f895f60ca8 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,
};
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index 577385a4a5d..9ced0628d69 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -480,7 +480,7 @@ static int rpc_delete_dentry(struct dentry *dentry)
return 1;
}
-static struct dentry_operations rpc_dentry_operations = {
+static const struct dentry_operations rpc_dentry_operations = {
.d_delete = rpc_delete_dentry,
};