patch-2.3.38 linux/drivers/block/paride/pf.c
Next file: linux/drivers/block/paride/pg.c
Previous file: linux/drivers/block/paride/pd.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Jan 7 11:38:05 2000
- Orig file:
v2.3.37/linux/drivers/block/paride/pf.c
- Orig date:
Tue Dec 14 01:27:23 1999
diff -u --recursive --new-file v2.3.37/linux/drivers/block/paride/pf.c linux/drivers/block/paride/pf.c
@@ -311,21 +311,11 @@
/* kernel glue structures */
-static struct file_operations pf_fops = {
- NULL, /* lseek - default */
- block_read, /* read - general block-dev read */
- block_write, /* write - general block-dev write */
- NULL, /* readdir - bad */
- NULL, /* select */
- pf_ioctl, /* ioctl */
- NULL, /* mmap */
- pf_open, /* open */
- NULL, /* flush */
- pf_release, /* release */
- block_fsync, /* fsync */
- NULL, /* fasync */
- pf_check_media, /* media change ? */
- NULL /* revalidate new media */
+static struct block_device_operations pf_fops = {
+ open: pf_open,
+ release: pf_release,
+ ioctl: pf_ioctl,
+ check_media_change: pf_check_media,
};
void pf_init_units( void )
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)