[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200115160554.GR3929@suse.cz>
Date: Wed, 15 Jan 2020 17:05:54 +0100
From: David Sterba <dsterba@...e.cz>
To: YueHaibing <yuehaibing@...wei.com>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
nborisov@...e.com, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] btrfs: Fix return value while kcalloc fails in
btrfs_rmap_block
On Wed, Jan 15, 2020 at 10:20:27PM +0800, YueHaibing wrote:
> In btrfs_rmap_block(), if kcalloc fails, it should return
> -ENOMEM instead of 0.
>
> Fixes: 767f58cdaf20 ("btrfs: Refactor btrfs_rmap_block to improve readability")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Thanks, folded to the patch.
Powered by blists - more mailing lists