diff options
author | Alex Elder <elder@inktank.com> | 2013-05-06 09:51:29 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2013-05-08 17:00:28 -0500 |
commit | 46578dcdca951f3da70d3a5a9b5166b2a492a182 (patch) | |
tree | 3646f4403d3267b9774928fcdb913cdc222bbd1c /drivers/block/mtip32xx | |
parent | f35a4dee14c31dc00807f3bcd59cc7a6959f63d7 (diff) | |
download | kernel_goldelico_gta04-46578dcdca951f3da70d3a5a9b5166b2a492a182.zip kernel_goldelico_gta04-46578dcdca951f3da70d3a5a9b5166b2a492a182.tar.gz kernel_goldelico_gta04-46578dcdca951f3da70d3a5a9b5166b2a492a182.tar.bz2 |
rbd: zero format 1 header structure earlier
The passed-in header structure is zeroed in rbd_header_from_disk().
Instead, have the caller do it. Note that there are two callers,
rbd_dev_v1_refresh() and rbd_dev_v1_probe(). The latter already has
a zeroed header structure so zeroing it isn't necessary there.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block/mtip32xx')
0 files changed, 0 insertions, 0 deletions