Re: [PATCH 3/3 v2] btrfs: use list_for_each_entry* in backref.c

2016-01-05 Thread David Sterba
On Mon, Dec 21, 2015 at 11:50:23PM +0800, Geliang Tang wrote: > Use list_for_each_entry*() to simplify the code. > > Signed-off-by: Geliang Tang Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 3/3 v2] btrfs: use list_for_each_entry* in backref.c

2016-01-05 Thread David Sterba
On Mon, Dec 21, 2015 at 11:50:23PM +0800, Geliang Tang wrote: > Use list_for_each_entry*() to simplify the code. > > Signed-off-by: Geliang Tang Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH 3/3 v2] btrfs: use list_for_each_entry* in backref.c

2015-12-21 Thread Geliang Tang
Use list_for_each_entry*() to simplify the code. Signed-off-by: Geliang Tang --- Changes in v2: - Use list_for_each_entry_safe_continue() in __merge_refs(). --- fs/btrfs/backref.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/fs/btrfs/backref.c

[PATCH 3/3 v2] btrfs: use list_for_each_entry* in backref.c

2015-12-21 Thread Geliang Tang
Use list_for_each_entry*() to simplify the code. Signed-off-by: Geliang Tang --- Changes in v2: - Use list_for_each_entry_safe_continue() in __merge_refs(). --- fs/btrfs/backref.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git