]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/eventpoll.c
[PATCH] Make most file operations structs in fs/ const
[mirror_ubuntu-artful-kernel.git] / fs / eventpoll.c
index e067a06c64645663da32c3905e5fb0724d7ac04d..242fe1a66ce5731690fc9e7dfe340307bc685448 100644 (file)
@@ -290,7 +290,7 @@ static kmem_cache_t *pwq_cache __read_mostly;
 static struct vfsmount *eventpoll_mnt __read_mostly;
 
 /* File callbacks that implement the eventpoll file behaviour */
-static struct file_operations eventpoll_fops = {
+static const struct file_operations eventpoll_fops = {
        .release        = ep_eventpoll_close,
        .poll           = ep_eventpoll_poll
 };