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:
a60ecb2
)
Remove bogus LBUG and error return code. This was triggered by a non-root
author
adilger
<adilger>
Thu, 21 Nov 2002 07:18:56 +0000
(07:18 +0000)
committer
adilger
<adilger>
Thu, 21 Nov 2002 07:18:56 +0000
(07:18 +0000)
user trying to create a file and getting -EACCES from lookup_one_len().
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
f7be6f6
..
24dadaf
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-669,8
+669,7
@@
static int mds_getattr_name(int offset, struct ptlrpc_request *req)
if (IS_ERR(dchild)) {
CDEBUG(D_INODE, "child lookup error %ld\n", PTR_ERR(dchild));
up(&dir->i_sem);
- LBUG();
- GOTO(out_create_dchild, rc = -ESTALE);
+ GOTO(out_create_dchild, rc = PTR_ERR(dchild));
}
rc = mds_getattr_internal(mds, dchild, req, body, offset);