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
(from parent 1:
30ac162
)
Branch HEAD
author
huanghua
<huanghua>
Tue, 29 Jul 2008 04:32:22 +0000
(
04:32
+0000)
committer
huanghua
<huanghua>
Tue, 29 Jul 2008 04:32:22 +0000
(
04:32
+0000)
b=16505
i=yong.fan
i=yury.umanets
correctly handling error case if child object does not exist
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
6877e81
..
5ad763f
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-952,6
+952,7
@@
relock:
LU_OBJECT_DEBUG(D_WARNING, info->mti_env,
&child->mot_obj.mo_lu,
"Object doesn't exist!\n");
+ GOTO(out_child, rc = -ESTALE);
}
ma->ma_valid = 0;