Displaying 1 result from an estimated 1 matches for "blktap_ioctl".
2007 Mar 05
0
[PATCH 3/10] linux 2.6.18: constify instances of ''struct file_operations''
...drivers/xen/blktap/blktap.c
===================================================================
--- head-2007-02-27.orig/drivers/xen/blktap/blktap.c 2007-03-05 10:00:18.000000000 +0100
+++ head-2007-02-27/drivers/xen/blktap/blktap.c 2007-02-27 16:27:37.000000000 +0100
@@ -335,7 +335,7 @@ static int blktap_ioctl(struct inode *in
unsigned int cmd, unsigned long arg);
static unsigned int blktap_poll(struct file *file, poll_table *wait);
-static struct file_operations blktap_fops = {
+static const struct file_operations blktap_fops = {
.owner = THIS_MODULE,
.poll = blktap_...