[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5b848910-0972-dfa7-e056-4467e5484a6e@kernel.dk>
Date: Tue, 21 Dec 2021 08:26:26 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Peng Hao <flyingpenghao@...il.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block/elevator: handle possible null pointer
On 12/21/21 1:10 AM, Peng Hao wrote:
> There is a check for q->tag_set in the front of elevator_get_default,
> and there should be a check here too.
I always get suspicious when I see patches like that. Is the other check
valid? Why does it need to get checked? There's really no meat on the
bone in this commit message.
--
Jens Axboe
Powered by blists - more mailing lists