Whamcloud - gitweb
LU-9679 obdclass: remove init to 0 from lustre_init_lsi() 35/39135/2
authorMr NeilBrown <neilb@suse.de>
Sun, 7 Jun 2020 23:24:21 +0000 (19:24 -0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 28 Jun 2020 02:47:24 +0000 (02:47 +0000)
commit513dde601d2e927566f80ffdae4f381718864747
tree602a594e411fe9c685f585a8611028fc77656722
parent82b8cb5528f489e9ceb7a1899722fc4108e85739
LU-9679 obdclass: remove init to 0 from lustre_init_lsi()

After allocating a struct with OBD_ALLOC, there is no value in setting
a few of the fields to zero.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ib1291661ba9124219e69c7a4d3c6ee4dcf14e021
Reviewed-on: https://review.whamcloud.com/39135
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/obd_mount.c