patch-2.4.5 linux/drivers/block/DAC960.c
Next file: linux/drivers/block/acsi.c
Previous file: linux/drivers/atm/eni.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Apr 28 11:27:53 2001
- Orig file:
v2.4.4/linux/drivers/block/DAC960.c
- Orig date:
Tue Feb 20 21:26:22 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/block/DAC960.c linux/drivers/block/DAC960.c
@@ -5134,16 +5134,12 @@
PartitionNumber);
int MinorNumber = DAC960_MinorNumber(LogicalDriveNumber,
PartitionNumber);
- SuperBlock_T *SuperBlock = get_super(Device);
if (Controller->GenericDiskInfo.part[MinorNumber].nr_sects == 0)
continue;
/*
Flush all changes and invalidate buffered state.
*/
- sync_dev(Device);
- if (SuperBlock != NULL)
- invalidate_inodes(SuperBlock);
- invalidate_buffers(Device);
+ invalidate_device(Device, 1);
/*
Clear existing partition sizes.
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)