* [PATCH] 2.4.10-pre5 rd.c
@ 2001-09-08 11:55 Ole André Vadla Ravnås
0 siblings, 0 replies; only message in thread
From: Ole André Vadla Ravnås @ 2001-09-08 11:55 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-09-08 8:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-08 11:55 [PATCH] 2.4.10-pre5 rd.c Ole André Vadla Ravnås
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®