patch-2.3.39 linux/drivers/block/acsi.c
Next file: linux/drivers/block/amiflop.c
Previous file: linux/drivers/block/DAC960.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Jan 8 17:41:16 2000
- Orig file:
v2.3.38/linux/drivers/block/acsi.c
- Orig date:
Fri Jan 7 19:13:21 2000
diff -u --recursive --new-file v2.3.38/linux/drivers/block/acsi.c linux/drivers/block/acsi.c
@@ -1216,11 +1216,7 @@
static int acsi_release( struct inode * inode, struct file * file )
{
- int device;
-
- sync_dev(inode->i_rdev);
-
- device = DEVICE_NR(MINOR(inode->i_rdev));
+ int device = DEVICE_NR(MINOR(inode->i_rdev));
if (--access_count[device] == 0 && acsi_info[device].removable)
acsi_prevent_removal(device, 0);
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)