2.4.10-pre5 rd.c
PATCH 1/1 2.4.10-pre5 rd.c
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é
---
drivers/block/rd.c renamed from drivers/block/rd.c-orig +1 -1
@@ -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 ;