Btrfs: write_extent_pages came in 2.6.23
authorChris Mason <chris.mason@oracle.com>
Fri, 25 Apr 2008 13:00:55 +0000 (09:00 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:02 +0000 (11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c

index 6e4bf02..c1c980d 100644 (file)
@@ -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);