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
Augment ->do_{read,write}_lock() prototypes with a `role' parameter indicating
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_orphans.c
diff --git
a/lustre/mdd/mdd_orphans.c
b/lustre/mdd/mdd_orphans.c
index
18a1912
..
2ac658b
100644
(file)
--- a/
lustre/mdd/mdd_orphans.c
+++ b/
lustre/mdd/mdd_orphans.c
@@
-130,7
+130,7
@@
static void orph_key_test_and_del(const struct lu_env *env,
if (IS_ERR(mdo))
CERROR("Invalid orphan!\n");
else {
- mdd_write_lock(env, mdo);
+ mdd_write_lock(env, mdo
, MOR_TGT_CHILD
);
if (mdo->mod_count == 0) {
/* non-opened orphan, let's delete it */
struct md_attr *ma = &mdd_env_info(env)->mti_ma;