Re: [Fwd: [PATCH] consolidate generic_writepages and mpage_writepages]

2007-02-17 Thread Miklos Szeredi
Maybe cifs_writepages() too can use this infrastructure, but I'm not touching that with a ten-foot pole. The cifs case ought to be one of the simpler ones, pseudo-code is pretty easy, the hard part is all of the stuff unrelated to cifs: Ideally if there were generic functions to help

[PATCH] consolidate generic_writepages and mpage_writepages

2007-02-16 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Clean up massive code duplication between mpage_writepages() and generic_writepages(). The new generic function, write_cache_pages() takes a function pointer argument, which will be called for each page to be written. Maybe cifs_writepages() too can use

Re: [Fwd: [PATCH] consolidate generic_writepages and mpage_writepages]

2007-02-16 Thread Steve French (smfltc)
From: Miklos Szeredi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] consolidate generic_writepages and mpage_writepages Date: Fri, 16 Feb 2007 17:23:25 +0100 From: Miklos Szeredi [EMAIL PROTECTED] Clean up massive