Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936146AbcLTPck (ORCPT ); Tue, 20 Dec 2016 10:32:40 -0500 Received: from mx2.suse.de ([195.135.220.15]:48545 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934023AbcLTPcf (ORCPT ); Tue, 20 Dec 2016 10:32:35 -0500 Date: Tue, 20 Dec 2016 16:32:19 +0100 From: David Sterba To: Josef Bacik Cc: Geliang Tang , Chris Mason , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] btrfs: use rb_entry() Message-ID: <20161220153218.GI3620@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Josef Bacik , Geliang Tang , Chris Mason , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <1482165983.6766.0@smtp.office365.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482165983.6766.0@smtp.office365.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 373 Lines: 11 On Mon, Dec 19, 2016 at 11:46:23AM -0500, Josef Bacik wrote: > On Mon, Dec 19, 2016 at 9:53 AM, Geliang Tang > wrote: > > To make the code clearer, use rb_entry() instead of container_of() to > > deal with rbtree. > > > > Signed-off-by: Geliang Tang > > Reviewed-by: Josef Bacik Added to cleanups branch.