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:
560ade2
)
LU-167 Return "-ENOENT" instead of "-ESTALE" when getattr against non-existent object
author
nasf
<yong.fan@whamcloud.com>
Tue, 29 Mar 2011 03:13:28 +0000
(11:13 +0800)
committer
Oleg Drokin
<green@whamcloud.com>
Wed, 30 Mar 2011 16:37:26 +0000
(09:37 -0700)
Change-Id: I17148a361e711c92f31f6a9318512267a866c724
Signed-off-by: nasf <yong.fan@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/369
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: wangdi <di.wang@whamcloud.com>
Tested-by: Hudson
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
f97bf96
..
c111721
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-992,7
+992,7
@@
relock:
LU_OBJECT_DEBUG(D_WARNING, info->mti_env,
&child->mot_obj.mo_lu,
"Object doesn't exist!\n");
- GOTO(out_child, rc = -E
STALE
);
+ GOTO(out_child, rc = -E
NOENT
);
}
if (!(child_bits & MDS_INODELOCK_UPDATE)) {