commit | f507b54dccfd8000c517d740bc45f20c74532d18 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Sep 07 13:54:35 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Sep 25 08:56:05 2017 -0600 |
tree | 8b6d8fdbafe4dee31f597776c36834bd4d5601f1 | |
parent | 02a4843618fb35f847cf8c31cd3893873aa0edde [diff] |
bsg-lib: don't free job in bsg_prepare_job The job structure is allocated as part of the request, so we should not free it in the error path of bsg_prepare_job. Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: stable@vger.kernel.org Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>