]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 6e4bf029c6d434e0eb69827b283213e29bc05c24..c1c980d1fbbf8df5338383ffd5d569d01878cc59 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);