Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fix for build on amd64.
[fs/lustre-release.git]
/
lustre
/
mds
/
mds_unlink_open.c
diff --git
a/lustre/mds/mds_unlink_open.c
b/lustre/mds/mds_unlink_open.c
index
a79e44c
..
b0cc7ec
100644
(file)
--- a/
lustre/mds/mds_unlink_open.c
+++ b/
lustre/mds/mds_unlink_open.c
@@
-249,7
+249,7
@@
out_free_lmm:
int mds_cleanup_orphans(struct obd_device *obd)
{
struct mds_obd *mds = &obd->u.mds;
int mds_cleanup_orphans(struct obd_device *obd)
{
struct mds_obd *mds = &obd->u.mds;
- struct
obd
_run_ctxt saved;
+ struct
lvfs
_run_ctxt saved;
struct file *file;
struct dentry *dchild, *dentry;
struct vfsmount *mnt;
struct file *file;
struct dentry *dchild, *dentry;
struct vfsmount *mnt;
@@
-261,7
+261,7
@@
int mds_cleanup_orphans(struct obd_device *obd)
int rc = 0, item = 0, namlen;
ENTRY;
int rc = 0, item = 0, namlen;
ENTRY;
- push_ctxt(&saved, &obd->obd_ctxt, NULL);
+ push_ctxt(&saved, &obd->obd_
lvfs_
ctxt, NULL);
dentry = dget(mds->mds_pending_dir);
if (IS_ERR(dentry))
GOTO(err_pop, rc = PTR_ERR(dentry));
dentry = dget(mds->mds_pending_dir);
if (IS_ERR(dentry))
GOTO(err_pop, rc = PTR_ERR(dentry));
@@
-334,7
+334,7
@@
err_out:
OBD_FREE(dirent, sizeof(*dirent));
}
err_pop:
OBD_FREE(dirent, sizeof(*dirent));
}
err_pop:
- pop_ctxt(&saved, &obd->obd_ctxt, NULL);
+ pop_ctxt(&saved, &obd->obd_
lvfs_
ctxt, NULL);
if (rc == 0)
rc = item;
RETURN(rc);
if (rc == 0)
rc = item;
RETURN(rc);