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-13649 mdd: orhpan cleanup fix
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_orphans.c
diff --git
a/lustre/mdd/mdd_orphans.c
b/lustre/mdd/mdd_orphans.c
index
9f1a10f
..
f79f526
100644
(file)
--- a/
lustre/mdd/mdd_orphans.c
+++ b/
lustre/mdd/mdd_orphans.c
@@
-308,7
+308,7
@@
static int mdd_orphan_destroy(const struct lu_env *env, struct mdd_object *obj,
mdd_write_lock(env, obj, DT_TGT_CHILD);
rc = mdd_orphan_declare_delete(env, obj, th);
- if (rc == -ENOENT)
+ if (rc == -ENOENT
|| lu_object_is_dying(obj->mod_obj.mo_lu.lo_header)
)
orphan_exists = false;
else if (rc)
GOTO(unlock, rc);