lkml.org 
[lkml]   [2002]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Loop devices under NTFS
On Tue, Aug 27, 2002 at 05:40:52AM -0700, Adam J. Richter wrote:
> There are only a few file systems that provide writable files
> without aops->{prepare,commit}_write. I think they are just tmpfs,
> ntfs and intermezzo. If all file systems that provided writable files
> could be expected to provide {prepare,commit}_write, I could eliminate
> the file_ops->{read,write} code from loop.c.

This is the wrong level of abstraction. There is no reason why a filesystem
has to use the pagecache at all.

Note that there is a more severe bug in loop.c: it's abuse of
do_generic_file_read.
-
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:28    [W:0.040 / U:2.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site