[PATCH] mark struct file_operations const 8
[deliverable/linux.git] / net / socket.c
index a92f595802345c64e627ac3b04d5e8dc4afeac19..0778c54424117ee48c6337714f3fe72403d4f7ae 100644 (file)
@@ -117,7 +117,7 @@ static ssize_t sock_sendpage(struct file *file, struct page *page,
  *     in the operation structures but are done directly via the socketcall() multiplexor.
  */
 
-static struct file_operations socket_file_ops = {
+static const struct file_operations socket_file_ops = {
        .owner =        THIS_MODULE,
        .llseek =       no_llseek,
        .aio_read =     sock_aio_read,
This page took 0.031857 seconds and 5 git commands to generate.