patch-2.3.38 linux/drivers/block/cpqarray.c

Next file: linux/drivers/block/cy82c693.c
Previous file: linux/drivers/block/ataflop.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.37/linux/drivers/block/cpqarray.c linux/drivers/block/cpqarray.c
@@ -196,21 +196,11 @@
 
 }
 
-struct file_operations ida_fops  = {
-	NULL,                        /* lseek - default */
-	block_read,                  /* read - general block-dev read */
-	block_write,                 /* write - general block-dev write */
-	NULL,                        /* readdir - bad */
-	NULL,                        /* select */
-	ida_ioctl,                  /* ioctl */
-	NULL,                        /* mmap */
-	ida_open,                     /* open code */
-	NULL,
-	ida_release,                  /* release */
-	block_fsync,	              /* fsync */
-	NULL,                        /* fasync */
-	NULL,			/* Disk change */
-	frevalidate_logvol,	/* revalidate */
+static struct block_device_operations ida_fops  = {
+	open:		ida_open,
+	release:	ida_release,
+	ioctl:		ida_ioctl,
+	revalidate:	frevalidate_logvol,
 };
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)