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
LU-3529 lod: create striped directory
[fs/lustre-release.git]
/
lustre
/
osp
/
osp_object.c
diff --git
a/lustre/osp/osp_object.c
b/lustre/osp/osp_object.c
index
7d302c9
..
5779b8d
100644
(file)
--- a/
lustre/osp/osp_object.c
+++ b/
lustre/osp/osp_object.c
@@
-1088,6
+1088,7
@@
static int osp_object_init(const struct lu_env *env, struct lu_object *o,
po->opo_non_exist = 1;
rc = 0;
}
+ init_rwsem(&po->opo_sem);
}
RETURN(rc);
}