Re: [PATCH] btrfs: use rb_entry()

From: Josef Bacik
Date: Mon Dec 19 2016 - 11:48:06 EST


On Mon, Dec 19, 2016 at 9:53 AM, Geliang Tang <geliangtang@xxxxxxxxx> wrote:
To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@xxxxxxxxx>

Reviewed-by: Josef Bacik <jbacik@xxxxxx>

Thanks,

Josef