From: Chris Mason Date: Wed, 11 Jun 2008 21:09:48 +0000 (-0400) Subject: Btrfs: Add backport for the kthread work on kernels older than 2.6.20 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d05e5a4dad985acc938e62d9752c813647dedd9d;p=openwrt%2Fstaging%2Fblogic.git Btrfs: Add backport for the kthread work on kernels older than 2.6.20 Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index 2911b67bd6f7..8b9e2cf50606 100644 --- a/fs/btrfs/async-thread.c +++ b/fs/btrfs/async-thread.c @@ -16,10 +16,17 @@ * Boston, MA 021110-1307, USA. */ +#include #include #include #include -#include + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20) +# include +#else +# include +#endif + #include "async-thread.h" /*