forked from luck/tmp_suning_uos_patched
Btrfs: write_extent_pages came in 2.6.23
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
81d7ed29ff
commit
004fb57506
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user