• Greg Kroah-Hartman's avatar
    Revert "bsg-lib: don't free job in bsg_prepare_job" · d44e463c
    Greg Kroah-Hartman authored
    This reverts commit 668cee82 which was
    commit f507b54d upstream.
    Ben reports:
    	That function doesn't exist here (it was introduced in 4.13).
    	Instead, this backport has modified bsg_create_job(), creating a
    	leak.  Please revert this on the 3.18, 4.4 and 4.9 stable
    So I'm dropping it from here.
    Reported-by: default avatarBen Hutchings <ben.hutchings@codethink.co.uk>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Ming Lei <ming.lei@redhat.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
bsg-lib.c 5.97 KB