Browse Source

Btrfs: write_cache_pages came in 2.6.22

Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason 17 years ago
parent
commit
5e478dc982
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/btrfs/extent_io.c

+ 1 - 1
fs/btrfs/extent_io.c

@@ -2107,7 +2107,7 @@ done:
 	return 0;
 	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 */
 /* Taken directly from 2.6.23 for 2.6.18 back port */
 typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc,
 typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc,
                                 void *data);
                                 void *data);