patch-2.1.45 linux/drivers/block/md.c
Next file: linux/drivers/block/rd.c
Previous file: linux/drivers/block/loop.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed Jul 16 19:22:50 1997
- Orig file:
v2.1.44/linux/drivers/block/md.c
- Orig date:
Mon Jun 16 16:35:54 1997
diff -u --recursive --new-file v2.1.44/linux/drivers/block/md.c linux/drivers/block/md.c
@@ -202,10 +202,10 @@
{
int i;
- if (atomic_read(&inode->i_count)>1 || md_dev[minor].busy>1) /* ioctl : one open channel */
+ if (inode->i_count > 1 || md_dev[minor].busy>1) /* ioctl : one open channel */
{
printk ("STOP_MD md%x failed : i_count=%d, busy=%d\n", minor,
- atomic_read(&inode->i_count), md_dev[minor].busy);
+ inode->i_count, md_dev[minor].busy);
return -EBUSY;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov