Skip to content

Commit

Permalink
Btrfs: write_extent_pages came in 2.6.23
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason committed Sep 25, 2008
1 parent 81d7ed2 commit 004fb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/extent_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ static int __extent_writepage(struct page *page, struct writeback_control *wbc,
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);
Expand Down

0 comments on commit 004fb57

Please sign in to comment.