Revert "bsg-lib: don't free job in bsg_prepare_job"
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 branches. So I'm dropping it from here. Reported-by: Ben Hutchings <email@example.com> Cc: Christoph Hellwig <firstname.lastname@example.org> Cc: Ming Lei <email@example.com> Cc: Jens Axboe <firstname.lastname@example.org> Signed-off-by: Greg Kroah-Hartman email@example.com
Showing with 1 addition and 0 deletions