Skip to content

Commit 6f3cfb1

Browse files
committed
fabrics: do not re-initialize nvmf_args
The memset clears all other pre-initialized values such as subsysnqn in fabrics_discovery. Fixes: 72dce2d ("fabrics: add missing common arguments to nvmf_args") Signed-off-by: Daniel Wagner <[email protected]>
1 parent ccd9183 commit 6f3cfb1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

fabrics.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ struct nvmf_args {
166166

167167
static void nvmf_default_args(struct nvmf_args *fa)
168168
{
169-
memset(fa, 0, sizeof(*fa));
170169
fa->tos = -1;
171170
fa->ctrl_loss_tmo = NVMF_DEF_CTRL_LOSS_TMO;
172171
}

0 commit comments

Comments
 (0)