[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210311113940.GA17668@lst.de>
Date: Thu, 11 Mar 2021 12:39:40 +0100
From: Christoph Hellwig <hch@....de>
To: gregkh@...uxfoundation.org
Cc: Christoph Hellwig <hch@....de>, Joel Becker <jlbec@...lplan.org>,
linux-kernel@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>,
Daniel Rosenberg <drosen@...gle.com>, stable@...r.kernel.org
Subject: Re: [PATCH v2] configfs: Fix config_item refcnt error in
__configfs_open_file()
On Thu, Mar 11, 2021 at 12:35:10PM +0100, gregkh@...uxfoundation.org wrote:
> From: Daniel Rosenberg <drosen@...gle.com>
>
> __configfs_open_file() used to use configfs_get_config_item, but changed
> in commit b0841eefd969 ("configfs: provide exclusion between IO and
> removals") to just call to_item. The error path still tries to clean up
> the reference, incorrectly decrementing the ref count.
This should already be covered by:
http://git.infradead.org/users/hch/configfs.git/commitdiff/14fbbc8297728e880070f7b077b3301a8c698ef9
Powered by blists - more mailing lists