lkml.org 
[lkml]   [2000]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1


On Sat, 15 Jan 2000, Alexander Viro wrote:
>
> Folks, looks like we have a funny failure mode: we invalidate buffers only
> upon close(), right? Well, going through the partition table happens
> without open(). So consider the following scenario:

A variation on this is why the partitioning code does something along the
lines of

bh = bread(..)
...
bforget(bh);

(ie uses "bforget()" instead of "brelse()").

So you actually shouldn't see that failure mode you're talking about. But
hey, who knows.

Linus


-
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:55    [W:0.194 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site