From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [PATCH] dm: fix free_rq_clone() NULL pointer when requeueing unmapped request Date: Wed, 29 Apr 2015 21:11:28 +0200 Message-ID: <55412CE0.4060909@sandisk.com> References: <553F7474.70905@sandisk.com> <20150429132029.GA3876@lst.de> <20150429133433.GA23127@redhat.com> <20150429185345.GA5975@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150429185345.GA5975@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mike Snitzer , Christoph Hellwig Cc: device-mapper development , Aaro Koskinen List-Id: dm-devel.ids On 04/29/15 20:53, Mike Snitzer wrote: > Actually, here is the proper 4.1-only fix (Bart please verify this works > for you): Hello Mike, Thanks for the patch. But against which tree has this patch been generated ? It doesn't seem to apply on v4.1-rc1: $ git reset --hard v4.1-rc1 HEAD is now at b787f68 Linux 4.1-rc1 $ patch -p1 < ~/\[PATCH\]\ dm\:\ fix\ free_rq_clone\(\)\ NULL\ pointer\ when\ requeueing\ unmapped\ request.eml (Stripping trailing CRs from patch; use --binary to disable.) patching file drivers/md/dm.c Hunk #1 FAILED at 1031. Hunk #2 succeeded at 1124 (offset 53 lines). Hunk #3 succeeded at 1143 (offset 53 lines). 1 out of 3 hunks FAILED -- saving rejects to file drivers/md/dm.c.rej Bart.