patch-2.3.38 linux/drivers/block/xd.c
Next file: linux/drivers/block/z2ram.c
Previous file: linux/drivers/block/swim_iop.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Jan 7 11:38:05 2000
- Orig file:
v2.3.37/linux/drivers/block/xd.c
- Orig date:
Tue Dec 14 01:27:23 1999
diff -u --recursive --new-file v2.3.37/linux/drivers/block/xd.c linux/drivers/block/xd.c
@@ -147,18 +147,10 @@
(void *) xd_info, /* internal */
NULL /* next */
};
-static struct file_operations xd_fops = {
- NULL, /* lseek - default */
- block_read, /* read - general block-dev read */
- block_write, /* write - general block-dev write */
- NULL, /* readdir - bad */
- NULL, /* poll */
- xd_ioctl, /* ioctl */
- NULL, /* mmap */
- xd_open, /* open */
- NULL, /* flush */
- xd_release, /* release */
- block_fsync /* fsync */
+static struct block_device_operations xd_fops = {
+ open: xd_open,
+ release: xd_release,
+ ioctl: xd_ioctl,
};
static DECLARE_WAIT_QUEUE_HEAD(xd_wait_int);
static DECLARE_WAIT_QUEUE_HEAD(xd_wait_open);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)