Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1545213

Re: [PATCH] btrfs: use rb_entry()

From David Sterba <dsterba@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH] btrfs: use rb_entry()
Date 2016-12-20 16:40 +0100
Message-ID <sQuGe-7mF-41@gated-at.bofh.it> (permalink)
References <sQ7zY-ML-9@gated-at.bofh.it> <sQuGe-7mF-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Dec 19, 2016 at 11:46:23AM -0500, Josef Bacik wrote:
> On Mon, Dec 19, 2016 at 9:53 AM, Geliang Tang <geliangtang@gmail.com> 
> wrote:
> > To make the code clearer, use rb_entry() instead of container_of() to
> > deal with rbtree.
> > 
> > Signed-off-by: Geliang Tang <geliangtang@gmail.com>
> 
> Reviewed-by: Josef Bacik <jbacik@fb.com>

Added to cleanups branch.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] btrfs: use rb_entry() Geliang Tang <geliangtang@gmail.com> - 2016-12-19 16:00 +0100
  Re: [PATCH] btrfs: use rb_entry() David Sterba <dsterba@suse.cz> - 2016-12-20 16:40 +0100

csiph-web