Messages in this thread Patch in this message | | | Date | Fri, 3 Mar 2000 06:53:11 +0100 (CET) | From | Mike Galbraith <> | Subject | [patch] 2.3.49 block_dev.c |
| |
Hi Linus,
A piece of my first attempt at initrd fix slipped into 2.3.49.final. My fault.. I assumed (mistake) that that hunk had been terminated with extreme prejudice. Sorry.
-Mike
--- linux-2.3.49.virgin/fs/block_dev.c.org Fri Mar 3 06:31:50 2000 +++ linux-2.3.49.virgin/fs/block_dev.c Fri Mar 3 06:32:21 2000 @@ -630,7 +630,7 @@ /* syncing will go here */ if (kind == BDEV_FILE || kind == BDEV_FS) fsync_dev(rdev); - if (atomic_dec_and_test(&bdev->bd_openers) && MAJOR(rdev) != RAMDISK_MAJOR) { + if (atomic_dec_and_test(&bdev->bd_openers)) { /* invalidating buffers will go here */ invalidate_buffers(rdev); }
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |