diff options
| author | David Woodhouse <dwmw2@infradead.org> | 2006-10-01 12:55:53 -0400 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-01 12:55:53 -0400 |
| commit | 8a84fc15ae5cafcc366dd85cf8e1ab2040679abc (patch) | |
| tree | 5d8dce194c9667fa92e9ec9f545cec867a9a1e0d /include/linux/mpage.h | |
| parent | 28b79ff9661b22e4c41c0d00d4ab8503e810f13d (diff) | |
| parent | 82965addad66fce61a92c5f03104ea90b0b87124 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Manually resolve conflict in include/mtd/Kbuild
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/mpage.h')
| -rw-r--r-- | include/linux/mpage.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/mpage.h b/include/linux/mpage.h index 3ca880463c47..cc5fb75af78a 100644 --- a/include/linux/mpage.h +++ b/include/linux/mpage.h | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | * (And no, it doesn't do the #ifdef __MPAGE_H thing, and it doesn't do | 9 | * (And no, it doesn't do the #ifdef __MPAGE_H thing, and it doesn't do |
| 10 | * nested includes. Get it right in the .c file). | 10 | * nested includes. Get it right in the .c file). |
| 11 | */ | 11 | */ |
| 12 | #ifdef CONFIG_BLOCK | ||
| 12 | 13 | ||
| 13 | struct writeback_control; | 14 | struct writeback_control; |
| 14 | typedef int (writepage_t)(struct page *page, struct writeback_control *wbc); | 15 | typedef int (writepage_t)(struct page *page, struct writeback_control *wbc); |
| @@ -21,8 +22,4 @@ int mpage_writepages(struct address_space *mapping, | |||
| 21 | int mpage_writepage(struct page *page, get_block_t *get_block, | 22 | int mpage_writepage(struct page *page, get_block_t *get_block, |
| 22 | struct writeback_control *wbc); | 23 | struct writeback_control *wbc); |
| 23 | 24 | ||
| 24 | static inline int | 25 | #endif |
| 25 | generic_writepages(struct address_space *mapping, struct writeback_control *wbc) | ||
| 26 | { | ||
| 27 | return mpage_writepages(mapping, wbc, NULL); | ||
| 28 | } | ||
