Commit d44e463c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

So I'm dropping it from here.
Reported-by: default avatarBen Hutchings <>
Cc: Christoph Hellwig <>
Cc: Ming Lei <>
Cc: Jens Axboe <>
Signed-off-by: Greg Kroah-Hartman
parent 01e3e631
......@@ -147,6 +147,7 @@ static int bsg_create_job(struct device *dev, struct request *req)
return -ENOMEM;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment