patch-2.4.14 linux/drivers/block/paride/pd.c
Next file: linux/drivers/block/paride/pf.c
Previous file: linux/drivers/block/paride/pcd.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Oct 25 13:58:35 2001
- Orig file:
v2.4.13/linux/drivers/block/paride/pd.c
- Orig date:
Tue Oct 23 22:48:50 2001
diff -u --recursive --new-file v2.4.13/linux/drivers/block/paride/pd.c linux/drivers/block/paride/pd.c
@@ -354,6 +354,7 @@
};
static struct block_device_operations pd_fops = {
+ owner: THIS_MODULE,
open: pd_open,
release: pd_release,
ioctl: pd_ioctl,
@@ -430,8 +431,6 @@
if ((unit >= PD_UNITS) || (!PD.present)) return -ENODEV;
- MOD_INC_USE_COUNT;
-
wait_event (pd_wait_open, pd_valid);
PD.access++;
@@ -515,8 +514,6 @@
if (!PD.access && PD.removable)
pd_doorlock(unit,IDE_DOORUNLOCK);
-
- MOD_DEC_USE_COUNT;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)