btrfs: use list_for_each_entry* in check-integrity.c
authorGeliang Tang <geliangtang@163.com>
Fri, 18 Dec 2015 14:16:59 +0000 (22:16 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jan 2016 13:38:42 +0000 (14:38 +0100)
commitb69f2bef484844ccd9038a850cdcf562afff9d08
tree3e9d08480c2480142cc480df5249933f265a58bf
parentee22184b53c823f6956314c2815d4068e3820737
btrfs: use list_for_each_entry* in check-integrity.c

Use list_for_each_entry*() instead of list_for_each*() to simplify
the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c