commit | 6b4df8b6c59fc865deb2650b60e38aca4c67a972 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@gmail.com> | Mon Dec 19 22:53:41 2016 +0800 |
committer | David Sterba <dsterba@suse.com> | Tue Feb 14 15:50:49 2017 +0100 |
tree | 6e96ec4f2f39292d658bb2568e375b56292e6a1b | |
parent | f74670f7132b002b5ee41edbc8d323500bf490b2 [diff] |
btrfs: use rb_entry() instead of container_of 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> Signed-off-by: David Sterba <dsterba@suse.com>