diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2017-02-24 04:15:13 +0100 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-03-09 18:02:06 +0100 |
commit | 75df023f4f2188c21181996e28234fef9351ef45 (patch) | |
tree | b888a2f77c192af1815916148be40eeb75e7b7c6 /drivers/md/raid10.c | |
parent | md-cluster: free md_cluster_info if node leave cluster (diff) | |
download | linux-75df023f4f2188c21181996e28234fef9351ef45.tar.xz linux-75df023f4f2188c21181996e28234fef9351ef45.zip |
md-cluster: remove useless memset from gather_all_resync_info
This memset is not needed. The lvb is already zeroed because
it was recently allocated by lockres_init, which uses kzalloc(),
and read_resync_info() doesn't need it to be zero anyway.
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions