lkml.org 
[lkml]   [2005]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [EXPERIMENT,RFC] FAT: Add "flush" option for hotplug devices
From
Date
Christoph Hellwig <hch@infradead.org> writes:

>> +++ linux-2.6.14-rc4-hirofumi/fs/fat/flush.c 2005-10-21 00:25:22.000000000 +0900
>> @@ -0,0 +1,90 @@
>> +/*
>> + * Copyright (C) 2005, OGAWA Hirofumi
>> + * Released under GPL v2.
>>
> Except for placing the flush time in the msdosfs SB there is nothing
> filesystem-specific in this file. Please place it in generic code,
> that way there's no reason to export all these deeply internal
> symbols either.

OK, except filemap_write_and_wait().

Many filesystems does

filemap_fdatawrite(mapping);
filemap_fdatawait(mapping);

Don't you want filemap_write_and_wait()?
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
-
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-10-22 12:48    [W:0.056 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site