[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20181127004031.GA125510@bp>
Date: Tue, 27 Nov 2018 08:40:31 +0800
From: PanBian <bianpan2016@....com>
To: Andreas Gruenbacher <agruenba@...hat.com>
Cc: Bob Peterson <rpeterso@...hat.com>,
Christoph Hellwig <hch@...radead.org>,
cluster-devel <cluster-devel@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gfs2: get rid of potential double free
On Tue, Nov 27, 2018 at 12:19:48AM +0100, Andreas Gruenbacher wrote:
> Pan,
>
> On Mon, 26 Nov 2018 at 09:44, Pan Bian <bianpan2016@....com> wrote:
>
> > __gfs2_set_acl will not increase the reference count of acl if it fails.
> > In this case, posix_acl_release are called twice, one after
> > __gfs2_set_acl and one in the error handling block. This patch does not
> > release acl when __gfs2_set_acl fails.
> >
>
> thanks for the bug report and patch; I think this should be fixed more
> clearly as in the patch I've posted earlier today.
I have seen the patch. It is really much clearer. Thank you!
Pan
>
> Andreas
Powered by blists - more mailing lists