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:
4f97197
)
b=23645 remove another i_mutex warning with 2.6.32
author
Johann Lombardi
<johann@sun.com>
Thu, 7 Oct 2010 20:05:25 +0000
(22:05 +0200)
committer
Johann Lombardi
<johann.lombardi@oracle.com>
Thu, 7 Oct 2010 20:08:38 +0000
(22:08 +0200)
hold inode mutex before calling lookup_on_len() when creating
objects on MDS.
lustre/mds/mds_fs.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_fs.c
b/lustre/mds/mds_fs.c
index
58ee4d6
..
13d565b
100644
(file)
--- a/
lustre/mds/mds_fs.c
+++ b/
lustre/mds/mds_fs.c
@@
-977,7
+977,7
@@
int mds_obd_create(struct obd_export *exp, struct obdo *oa,
push_ctxt(saved, &exp->exp_obd->obd_lvfs_ctxt, &ucred);
sprintf(fidname, "%u.%u", tmpname, current->pid);
- dchild = lookup_one_len(fidname, mds->mds_objects_dir, strlen(fidname));
+ dchild = l
l_l
ookup_one_len(fidname, mds->mds_objects_dir, strlen(fidname));
if (IS_ERR(dchild)) {
CERROR("getting neg dentry for obj: %u\n", tmpname);
GOTO(out_pop, rc = PTR_ERR(dchild));