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:
82d014e
)
LU-11920 lod: do not reset lds_def_comp_entries
75/34175/4
author
Alex Zhuravlev
<bzzz@whamcloud.com>
Mon, 4 Feb 2019 17:42:40 +0000
(20:42 +0300)
committer
Oleg Drokin
<green@whamcloud.com>
Wed, 6 Feb 2019 07:19:56 +0000
(07:19 +0000)
as it can contain valid pointer and the buffer is refilled every time.
Change-Id: I6ae043c31c8cd1414a80a48687bd784e30425553
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/lod/lod_internal.h
patch
|
blob
|
history
diff --git
a/lustre/lod/lod_internal.h
b/lustre/lod/lod_internal.h
index
454b752
..
62bab33
100644
(file)
--- a/
lustre/lod/lod_internal.h
+++ b/
lustre/lod/lod_internal.h
@@
-556,7
+556,8
@@
lod_lds_buf_get(const struct lu_env *env)
{
struct lod_thread_info *info = lod_env_info(env);
- memset(&info->lti_def_striping, 0, sizeof(info->lti_def_striping));
+ info->lti_def_striping.lds_def_striping_set = 0;
+ info->lti_def_striping.lds_dir_def_striping_set = 0;
return &info->lti_def_striping;
}