[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180815115137.GJ24025@twin.jikos.cz>
Date: Wed, 15 Aug 2018 13:51:38 +0200
From: David Sterba <dsterba@...e.cz>
To: zhong jiang <zhongjiang@...wei.com>
Cc: clm@...com, jbacik@...com, dsterba@...e.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs:free-space-cache: remove unneeded NULL check
before kfree
On Mon, Aug 13, 2018 at 02:06:08PM +0800, zhong jiang wrote:
> Kfree has taken the null pointer into account. So remove the check
> before kfree.
>
> The issue is detected with the help of Coccinelle.
>
> Signed-off-by: zhong jiang <zhongjiang@...wei.com>
Added to misc-next, thanks.
Powered by blists - more mailing lists