xfs: fix incorrect error-out in xfs_remove
[ Upstream commit 2653d533 ] Clean up resources if resetting the dotdot entry doesn't succeed. Observed through code inspection. Fixes: 5838d035 ("xfs: reset child dir '..' entry when unlinking child") Signed-off-by:Darrick J. Wong <djwong@kernel.org> Reviewed-by:
Andrey Albershteyn <aalbersh@redhat.com> Signed-off-by:
Leah Rumancik <leah.rumancik@gmail.com> Acked-by:
Darrick J. Wong <djwong@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment