Re: [PATCH] block: fix possible NULL dereference

From: Jens Axboe
Date: Thu Mar 10 2016 - 10:44:33 EST

On 03/10/2016 04:39 AM, Sudip Mukherjee wrote:
We were checking for iter to be NULL after dereferencing it. Lets first
check it and then use it.

Nobody calls it with iter == NULL, I think we should just kill the !iter check

Jens Axboe