diff options
| author | Miklos Szeredi <[email protected]> | 2007-05-10 22:22:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-11 08:29:35 -0700 |
| commit | 0ea971801625184a91a6d80ea85e53875caa0bf5 (patch) | |
| tree | 6f4144b7ba809fccfe6d75314df8c348596c9a01 /include/linux/debugobjects.h | |
| parent | e10cc1df1d2014f68a4bdcf73f6dd122c4561f94 (diff) | |
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 <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions