#define DEBUG_SUBSYSTEM S_LDLM
#include <cl_object.h>
+#include <linux/fs_struct.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
int rc = 0;
ENTRY;
+ unshare_fs_struct();
OBD_ALLOC_PTR(thread);
if (thread == NULL)
RETURN(-ENOMEM);