Re: [PATCH] ovl: fix return value of ovl_fill_super
From: Miklos Szeredi
Date: Tue Dec 06 2016 - 05:27:26 EST
On Fri, Nov 18, 2016 at 4:02 PM, Geliang Tang <geliangtang@xxxxxxxxx> wrote:
> If kcalloc() failed, the return value of ovl_fill_super() is -EINVAL,
> not -ENOMEM. So this patch sets this value to -ENOMEM before calling
> kcalloc(), and sets it back to -EINVAL after calling kcalloc().
Thanks, applied.
Miklos