summaryrefslogtreecommitdiffstats
path: root/block/blk-wbt.c
diff options
context:
space:
mode:
authorEwan D. Milne <emilne@redhat.com>2017-04-24 13:24:16 -0400
committerChristoph Hellwig <hch@lst.de>2017-04-25 20:00:59 +0200
commitde41447aac034c4acc8d9d1ddbdcb7ce4e8a3f6f (patch)
treebef80837e850eee8e11f7a695e2e8cb212d171b6 /block/blk-wbt.c
parentbbe3012b73b592dfe5f4340a14373840f51887b6 (diff)
downloadlinux-de41447aac034c4acc8d9d1ddbdcb7ce4e8a3f6f.tar.bz2
nvme-fc: avoid memory corruption caused by calling nvmf_free_options() twice
Do not call nvmf_free_options() from the nvme_fc_ctlr destructor if nvme_fc_create_ctrl() returns an error, because nvmf_create_ctrl() frees the options when an error is returned. Signed-off-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block/blk-wbt.c')
0 files changed, 0 insertions, 0 deletions