From: adilger Date: Tue, 3 Sep 2002 21:47:27 +0000 (+0000) Subject: Fix header problem for building on RH kernels. X-Git-Tag: 0.5.6~17 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=90d68e2fece6f5396418700b4d22d76e34ef1f42;p=fs%2Flustre-release.git Fix header problem for building on RH kernels. --- diff --git a/lustre/lib/simple.c b/lustre/lib/simple.c index 4e4d7f5..e7680ce 100644 --- a/lustre/lib/simple.c +++ b/lustre/lib/simple.c @@ -20,6 +20,7 @@ #define DEBUG_SUBSYSTEM S_FILTER +#include #include #include #include @@ -60,15 +61,20 @@ void push_ctxt(struct obd_run_ctxt *save, struct obd_run_ctxt *new) void pop_ctxt(struct obd_run_ctxt *saved) { + //printk("pc0"); ASSERT_CTXT_MAGIC(saved->magic); + //printk("pc1"); ASSERT_KERNEL_CTXT("popping non-kernel context!\n"); + //printk("pc2"); set_fs(saved->fs); - LASSERT(saved->pwd); - LASSERT(saved->pwdmnt); + //printk("pc3\n"); set_fs_pwd(current->fs, saved->pwdmnt, saved->pwd); + //printk("pc4"); dput(saved->pwd); + //printk("pc5"); mntput(saved->pwdmnt); + //printk("pc6\n"); } /* utility to make a directory */