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:
18386e8
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Thu, 9 Nov 2006 08:19:14 +0000
(08:19 +0000)
committer
wangdi
<wangdi>
Thu, 9 Nov 2006 08:19:14 +0000
(08:19 +0000)
it should return -ENOENT instead of ESTALE, if it is dead obj in mdd_lookup.
found by nikita
lustre/mdd/mdd_dir.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_dir.c
b/lustre/mdd/mdd_dir.c
index
265d311
..
5783b25
100644
(file)
--- a/
lustre/mdd/mdd_dir.c
+++ b/
lustre/mdd/mdd_dir.c
@@
-896,7
+896,7
@@
__mdd_lookup(const struct lu_env *env, struct md_object *pobj,
mdd_lprocfs_time_start(mdo2mdd(pobj), &start, LPROC_MDD_LOOKUP);
if (mdd_is_dead_obj(mdd_obj))
- RETURN(-E
STALE
);
+ RETURN(-E
NOENT
);
rc = lu_object_exists(mdd2lu_obj(mdd_obj));
if (rc == 0)