[PATCH] 2.4.10-pre5 rd.c

(no name) ((no email))
08 Sep 2001 10:55:30 -0100


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/