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:
20462d3
)
branch: b_new_cmd
author
ericm
<ericm>
Wed, 18 Oct 2006 23:22:59 +0000
(23:22 +0000)
committer
ericm
<ericm>
Wed, 18 Oct 2006 23:22:59 +0000
(23:22 +0000)
minor fix to quiet compiler warning.
lustre/llite/namei.c
patch
|
blob
|
history
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
2c5fee4
..
29f3489
100644
(file)
--- a/
lustre/llite/namei.c
+++ b/
lustre/llite/namei.c
@@
-491,7
+491,8
@@
static struct dentry *ll_lookup_it(struct inode *parent, struct dentry *dentry,
rc = ll_fid_md_alloc(ll_i2sbi(parent), &op_data->fid2, &hint);
if (rc) {
ll_finish_md_op_data(op_data);
- RETURN(rc);
+ LASSERT(rc < 0);
+ RETURN(ERR_PTR(rc));
}
}