commit | eca19dc1d84d924544dda0c8d2fd4bb4131affeb | [log] [tgz] |
---|---|---|
author | Israel Rukshin <israelr@mellanox.com> | Mon Nov 13 12:29:40 2017 +0000 |
committer | Christoph Hellwig <hch@lst.de> | Mon Jan 08 11:01:58 2018 +0100 |
tree | 864d1e994c74c5014b845320ad099cbcc377048e | |
parent | 6fbcde6691b514faa963c60f5537332530f1bf0a [diff] |
nvmet: fix error flow in nvmet_alloc_ctrl() Remove the allocated id on error. Signed-off-by: Israel Rukshin <israelr@mellanox.com> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Christoph Hellwig <hch@lst.de>