[patch] 2.3.49 block_dev.c

From: Mike Galbraith (mikeg@weiden.de)
Date: Fri Mar 03 2000 - 00:53:11 EST


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/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:13 EST