From: Chris Mason Date: Fri, 25 Apr 2008 13:00:55 +0000 (-0400) Subject: Btrfs: write_extent_pages came in 2.6.23 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=004fb5750615bb3cf53e2aa50f6ef1ea57d97df9;p=linux-beck.git Btrfs: write_extent_pages came in 2.6.23 Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 6e4bf029c6d4..c1c980d1fbbf 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);