patch-2.4.5 linux/drivers/block/blkpg.c
Next file: linux/drivers/block/cciss.c
Previous file: linux/drivers/block/amiflop.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun May 20 11:34:05 2001
- Orig file:
v2.4.4/linux/drivers/block/blkpg.c
- Orig date:
Thu Oct 26 23:35:47 2000
diff -u --recursive --new-file v2.4.4/linux/drivers/block/blkpg.c linux/drivers/block/blkpg.c
@@ -157,8 +157,7 @@
/* partition in use? Incomplete check for now. */
devp = MKDEV(MAJOR(dev), minor);
- if (get_super(devp) || /* mounted? */
- is_swap_partition(devp))
+ if (is_mounted(devp) || is_swap_partition(devp))
return -EBUSY;
/* all seems OK */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)