]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/ipv4/ipmr.c
[PATCH] fs: fix nobh data leak
[mv-sheeva.git] / net / ipv4 / ipmr.c
index 604f5b585104e02e9238dd2a1230a7e21be17017..601e3df69258117394c7c07306cd755dd10cf8cf 100644 (file)
@@ -31,7 +31,6 @@
 #include <asm/system.h>
 #include <asm/uaccess.h>
 #include <linux/types.h>
-#include <linux/sched.h>
 #include <linux/capability.h>
 #include <linux/errno.h>
 #include <linux/timer.h>
@@ -1712,7 +1711,7 @@ out_kfree:
 
 }
 
-static struct file_operations ipmr_vif_fops = {
+static const struct file_operations ipmr_vif_fops = {
        .owner   = THIS_MODULE,
        .open    = ipmr_vif_open,
        .read    = seq_read,
@@ -1874,7 +1873,7 @@ out_kfree:
 
 }
 
-static struct file_operations ipmr_mfc_fops = {
+static const struct file_operations ipmr_mfc_fops = {
        .owner   = THIS_MODULE,
        .open    = ipmr_mfc_open,
        .read    = seq_read,