]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Btrfs: write_cache_pages came in 2.6.22
authorChris Mason <chris.mason@oracle.com>
Fri, 25 Apr 2008 13:10:45 +0000 (09:10 -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 c1c980d1fbbf8df5338383ffd5d569d01878cc59..2368536629e7aec471640ec4ea13ba8f55b9ad6f 100644 (file)
@@ -2107,7 +2107,7 @@ done:
        return 0;
 }
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
 /* 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);