Whamcloud - gitweb
Some extra checking of the filesystem context.
authoradilger <adilger>
Tue, 18 Jun 2002 16:46:30 +0000 (16:46 +0000)
committeradilger <adilger>
Tue, 18 Jun 2002 16:46:30 +0000 (16:46 +0000)
lustre/mds/mds_fs.c

index 8efca61..b5f9d3a 100644 (file)
@@ -417,6 +417,8 @@ int mds_fs_setup(struct mds_obd *mds, struct vfsmount *mnt)
 
         mds->mds_fsops = fs_ops;
         mds->mds_vfsmnt = mnt;
+
+        OBD_SET_CTXT_MAGIC(&mds->mds_ctxt);
         mds->mds_ctxt.pwdmnt = mnt;
         mds->mds_ctxt.pwd = mnt->mnt_root;
         mds->mds_ctxt.fs = KERNEL_DS;