On Mon, Sep 21, 2020 at 08:03:35PM +0300, Denis Efremov wrote:
btrfs_ioctl_send() used open-coded kvzalloc implementation earlier. The code was accidentally replaced with kzalloc() call [1]. Restore the original code by using kvzalloc() to allocate sctx->clone_roots.
[1] https://patchwork.kernel.org/patch/9757891/#20529627
Cc: stable@vger.kernel.org Fixes: 818e010bf9d0 ("btrfs: replace opencoded kvzalloc with the helper") Signed-off-by: Denis Efremov efremov@linux.com
Thanks, the kvzalloc fixup got lost on the way.