summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-25 09:00:55 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:02 -0400
commit004fb5750615bb3cf53e2aa50f6ef1ea57d97df9 (patch)
treef25db38e15e887b699729a56148d448b8f9fe5b6 /fs/btrfs/extent_io.c
parent81d7ed29ff6bdec903c36c26b386e16c014993b2 (diff)
downloadop-kernel-dev-004fb5750615bb3cf53e2aa50f6ef1ea57d97df9.zip
op-kernel-dev-004fb5750615bb3cf53e2aa50f6ef1ea57d97df9.tar.gz
Btrfs: write_extent_pages came in 2.6.23
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r--fs/btrfs/extent_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index 6e4bf02..c1c980d 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -2107,7 +2107,7 @@ done:
return 0;
}
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,20)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
/* Taken directly from 2.6.23 for 2.6.18 back port */
typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc,
void *data);
OpenPOWER on IntegriCloud