Re: [PATCH] Turn do_sync_file_range() into do_sync_mapping_range()

2007-03-21 Thread Mark Fasheh
On Wed, Mar 21, 2007 at 02:44:26PM +, Christoph Hellwig wrote: > On Tue, Mar 20, 2007 at 02:46:26PM -0700, Mark Fasheh wrote: > > do_sync_file_range() accepts a file * from which it takes an address_space > > to sync. Abstract out the bulk of the function into do_sync_mapping_range() > > which

Re: [PATCH] Turn do_sync_file_range() into do_sync_mapping_range()

2007-03-21 Thread Christoph Hellwig
On Tue, Mar 20, 2007 at 02:46:26PM -0700, Mark Fasheh wrote: > do_sync_file_range() accepts a file * from which it takes an address_space > to sync. Abstract out the bulk of the function into do_sync_mapping_range() > which takes the address_space directly. This way callers who want to sync an > ad

Re: [PATCH] Turn do_sync_file_range() into do_sync_mapping_range()

2007-03-20 Thread Andrew Morton
On Tue, 20 Mar 2007 14:46:26 -0700 Mark Fasheh <[EMAIL PROTECTED]> wrote: > do_sync_file_range() accepts a file * from which it takes an address_space > to sync. Abstract out the bulk of the function into do_sync_mapping_range() > which takes the address_space directly. This way callers who want t

[PATCH] Turn do_sync_file_range() into do_sync_mapping_range()

2007-03-20 Thread Mark Fasheh
do_sync_file_range() accepts a file * from which it takes an address_space to sync. Abstract out the bulk of the function into do_sync_mapping_range() which takes the address_space directly. This way callers who want to sync an address_space directly can take advantage of the functionality provided