Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1536834

Re: [PATCH] ovl: fix return value of ovl_fill_super

From Miklos Szeredi <miklos@szeredi.hu>
Newsgroups linux.kernel
Subject Re: [PATCH] ovl: fix return value of ovl_fill_super
Date 2016-12-06 11:30 +0100
Message-ID <sLlax-Oj-27@gated-at.bofh.it> (permalink)
References <sESXE-l4-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Nov 18, 2016 at 4:02 PM, Geliang Tang <geliangtang@gmail.com> 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] ovl: fix return value of ovl_fill_super Miklos Szeredi <miklos@szeredi.hu> - 2016-12-06 11:30 +0100

csiph-web