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

Commit d05e5a4d authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Add backport for the kthread work on kernels older than 2.6.20

parent 15ada040
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -16,10 +16,17 @@
 * Boston, MA 021110-1307, USA.
 */

#include <linux/version.h>
#include <linux/kthread.h>
#include <linux/list.h>
#include <linux/spinlock.h>

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
# include <linux/freezer.h>
#else
# include <linux/sched.h>
#endif

#include "async-thread.h"

/*