diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-21 20:01:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:17:24 -0400 |
commit | b87221de6a4934eda856475a0065688d12973a04 (patch) | |
tree | 6bcf0628e106c4833538f4c23d710fbbe3d7609a /net | |
parent | 0d54b217a247f39605361f867fefbb9e099a5432 (diff) |
const: mark remaining super_operations const
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/socket.c | 2 | ||||
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c index 2a022c00d85c..0ad02ae61a91 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -285,7 +285,7 @@ static int init_inodecache(void) | |||
285 | return 0; | 285 | return 0; |
286 | } | 286 | } |
287 | 287 | ||
288 | static struct super_operations sockfs_ops = { | 288 | static const struct super_operations sockfs_ops = { |
289 | .alloc_inode = sock_alloc_inode, | 289 | .alloc_inode = sock_alloc_inode, |
290 | .destroy_inode =sock_destroy_inode, | 290 | .destroy_inode =sock_destroy_inode, |
291 | .statfs = simple_statfs, | 291 | .statfs = simple_statfs, |
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 7f676bdf70d3..858a443f418f 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -930,7 +930,7 @@ void rpc_remove_cache_dir(struct dentry *dentry) | |||
930 | /* | 930 | /* |
931 | * populate the filesystem | 931 | * populate the filesystem |
932 | */ | 932 | */ |
933 | static struct super_operations s_ops = { | 933 | static const struct super_operations s_ops = { |
934 | .alloc_inode = rpc_alloc_inode, | 934 | .alloc_inode = rpc_alloc_inode, |
935 | .destroy_inode = rpc_destroy_inode, | 935 | .destroy_inode = rpc_destroy_inode, |
936 | .statfs = simple_statfs, | 936 | .statfs = simple_statfs, |