patch-2.3.39 linux/drivers/block/paride/pd.c
Next file: linux/drivers/block/paride/pf.c
Previous file: linux/drivers/block/nbd.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Jan 8 17:41:16 2000
- Orig file:
v2.3.38/linux/drivers/block/paride/pd.c
- Orig date:
Fri Jan 7 19:13:21 2000
diff -u --recursive --new-file v2.3.38/linux/drivers/block/paride/pd.c linux/drivers/block/paride/pd.c
@@ -512,15 +512,8 @@
PD.access--;
- if (!PD.access) {
- fsync_dev(devp);
-
- sb = get_super(devp);
- if (sb) invalidate_inodes(sb);
-
- invalidate_buffers(devp);
- if (PD.removable) pd_doorlock(unit,IDE_DOORUNLOCK);
- }
+ if (!PD.access && PD.removable)
+ pd_doorlock(unit,IDE_DOORUNLOCK);
MOD_DEC_USE_COUNT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)