Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e0841
)
Some extra checking of the filesystem context.
author
adilger
<adilger>
Tue, 18 Jun 2002 16:46:30 +0000
(16:46 +0000)
committer
adilger
<adilger>
Tue, 18 Jun 2002 16:46:30 +0000
(16:46 +0000)
lustre/mds/mds_fs.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_fs.c
b/lustre/mds/mds_fs.c
index
8efca61
..
b5f9d3a
100644
(file)
--- a/
lustre/mds/mds_fs.c
+++ b/
lustre/mds/mds_fs.c
@@
-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;