Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e478dc9 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: write_cache_pages came in 2.6.22

parent 84eed90f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2107,7 +2107,7 @@ static int __extent_writepage(struct page *page, struct writeback_control *wbc,
	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);