lkml.org 
[lkml]   [2000]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans