summaryrefslogtreecommitdiff
path: root/include/linux/mpage.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-08-29 22:06:09 +0400
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-09-30 22:52:26 +0400
commit811d736f9e8013966e1a5a930c0db09508bdbb15 (patch)
tree566225f7991f987007ccc2e8d99255f21041b6cb /include/linux/mpage.h
parent7b0de42d7c5a471741ede4e71727d88000e6ea59 (diff)
downloadlinux-811d736f9e8013966e1a5a930c0db09508bdbb15.tar.xz
[PATCH] BLOCK: Dissociate generic_writepages() from mpage stuff [try #6]
Dissociate the generic_writepages() function from the mpage stuff, moving its declaration to linux/mm.h and actually emitting a full implementation into mm/page-writeback.c. The implementation is a partial duplicate of mpage_writepages() with all BIO references removed. It is used by NFS to do writeback. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/mpage.h')
-rw-r--r--include/linux/mpage.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mpage.h b/include/linux/mpage.h
index 3ca880463c47..517c098fde20 100644
--- a/include/linux/mpage.h
+++ b/include/linux/mpage.h
@@ -20,9 +20,3 @@ int mpage_writepages(struct address_space *mapping,
struct writeback_control *wbc, get_block_t get_block);
int mpage_writepage(struct page *page, get_block_t *get_block,
struct writeback_control *wbc);
-
-static inline int
-generic_writepages(struct address_space *mapping, struct writeback_control *wbc)
-{
- return mpage_writepages(mapping, wbc, NULL);
-}