Miklos Szeredi 0ea9718016 consolidate generic_writepages and mpage_writepages
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 this infrastructure, but I'm not
touching that with a ten-foot pole.

The upcoming page writeback support in fuse will also want this.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-11 08:29:35 -07:00
..
2007-05-09 12:30:55 -07:00
2007-05-11 08:29:32 -07:00
2007-05-09 12:30:55 -07:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:57:56 +02:00
2007-05-09 17:58:01 -04:00
2007-05-10 09:26:52 -07:00
2007-05-08 11:15:18 -07:00
2007-05-08 11:15:08 -07:00
2007-05-08 11:15:09 -07:00
2007-05-09 08:58:15 +02:00
2007-05-09 06:44:57 +02:00
2007-05-09 12:30:50 -07:00
2007-05-08 20:10:00 -07:00
2007-05-09 07:10:02 +02:00
2007-05-08 11:15:04 -07:00
2007-05-08 11:15:18 -07:00