lkml.org 
[lkml]   [2001]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.10-pre11


On Fri, 21 Sep 2001, Andrea Arcangeli wrote:

> 1) I am tentated to fix the initrd bug by just killing initrd blkdev,
> completly instead of going to mark PageSecure all the initrd pages.

Just put initrd_read(), initrd_release() and initrd_fops back and
switch file->f_op on rd_open() as it was in -pre10. Maybe you
want to replace blkdev_put(inode->i_bdev, BDEV_FILE) in initrd_release()
with blkdev_close(inode, file), but that will be the same pretty soon.

It's really the simplest way to deal with that and it has a benefit
of being both straightforward and well-tested.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.088 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site