Unionfs ODF: use kthread.h api, not calling kernel_thread directly
authorErez Zadok <ezk@cs.sunysb.edu>
Mon, 19 Nov 2007 02:38:54 +0000 (21:38 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:20 +0000 (19:03 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/sioq.c
fs/unionfs/union.h

index b9fbeef4a954d3dc47dcb4c086444cc3a0168448..e9ff242e56bdbfd4ee2034057243534d7c904314 100644 (file)
@@ -96,7 +96,7 @@ void run_sioa(struct sioa_args *args, void (*work) (void *),
        args->process = NULL;
        args->timeout = timeout;
        args->work = work;
-       kthread_run(__run_sioa, args, "unionfs_odfd");
+       kernel_thread(__run_sioa, args, 0);
 }
 
 /*
index de07ebdc12b765619f937728bf77a6642ad5cec5..8dbf79a9e9d1e00a89fa18bb5863f128dc668f2c 100644 (file)
@@ -47,7 +47,6 @@
 #include <linux/mman.h>
 #include <linux/backing-dev.h>
 #include <linux/exportfs.h>
-#include <linux/kthread.h>
 
 #include <asm/system.h>