Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-12682 llite: fake symlink type of foreign file/dir
[fs/lustre-release.git]
/
lustre
/
lov
/
lov_object.c
diff --git
a/lustre/lov/lov_object.c
b/lustre/lov/lov_object.c
index
da7bfe6
..
2561ae1
100644
(file)
--- a/
lustre/lov/lov_object.c
+++ b/
lustre/lov/lov_object.c
@@
-2165,7
+2165,8
@@
static int lov_object_layout_get(const struct lu_env *env,
rc = lov_lsm_pack(lsm, buf->lb_buf, buf->lb_len);
lov_lsm_put(lsm);
- RETURN(rc < 0 ? rc : 0);
+ /* return error or number of bytes */
+ RETURN(rc);
}
static loff_t lov_object_maxbytes(struct cl_object *obj)