commit | d9c7c9fa600acb0d587678cc71565316d11ec7ad | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jan 09 16:39:00 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 12 11:39:44 2017 +0100 |
tree | cf1fa1782465694ea79a117a4c14def8d6ce79c5 | |
parent | aa38f370b25acc478be36e237e882e78f71c67e5 [diff] |
xfs: fix double-cleanup when CUI recovery fails commit 7a21272b088894070391a94fdd1c67014020fa1d upstream. Dan Carpenter reported a double-free of rcur if _defer_finish fails while we're recovering CUI items. Fix the error recovery to prevent this. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>