[PATCH] 2.4.10-pre5 rd.c

From: Ole André Vadla Ravnås (zole@jblinux.net)
Date: Sat Sep 08 2001 - 06:55:30 EST


Hi,

this fix might already have been submitted, but as I'm not currently
subscribed to the list, I post it here just in case. :-)

Best regards,
Ole André

---

--- linux/drivers/block/rd.c-orig Sat Sep 8 10:50:35 2001 +++ linux/drivers/block/rd.c Sat Sep 8 10:50:41 2001 @@ -259,7 +259,7 @@ /* special: we want to release the ramdisk memory, it's not like with the other blockdevices where this ioctl only flushes away the buffer cache. */ - if ((atomic_read(rd_bdev[minor]->bd_openers) > 2)) + if ((atomic_read(&rd_bdev[minor]->bd_openers) > 2)) return -EBUSY; destroy_buffers(inode->i_rdev); rd_blocksizes[minor] = 0;

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:13 EST