diff options
| author | Chris Mason <chris.mason@oracle.com> | 2008-04-25 09:10:45 -0400 |
|---|---|---|
| committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:02 -0400 |
| commit | 5e478dc9828ad33d7b08dcdf277e13f14a7c1be7 (patch) | |
| tree | 54897b956512753367718a03aa6420d137113f2d /fs/btrfs/extent_io.c | |
| parent | 84eed90fac1b927a2657ff3bb7a0f18b9cb688f7 (diff) | |
Btrfs: write_cache_pages came in 2.6.22
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
| -rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index c1c980d1fbb..2368536629e 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
| @@ -2107,7 +2107,7 @@ done: | |||
| 2107 | return 0; | 2107 | return 0; |
| 2108 | } | 2108 | } |
| 2109 | 2109 | ||
| 2110 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) | 2110 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) |
| 2111 | /* Taken directly from 2.6.23 for 2.6.18 back port */ | 2111 | /* Taken directly from 2.6.23 for 2.6.18 back port */ |
| 2112 | typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc, | 2112 | typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc, |
| 2113 | void *data); | 2113 | void *data); |
