]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use list_for_each_entry_safe in free-space-cache.c
authorGeliang Tang <geliangtang@163.com>
Fri, 18 Dec 2015 14:17:00 +0000 (22:17 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jan 2016 13:39:09 +0000 (14:39 +0100)
commit4f94efec5b2886c1b4a3f7da6a63d322f72b280c
tree516c422276938efc71092e0b193ba3b8ed8791f7
parentfa8c853afa6f89bf7da93987e42e6879bc7cfc84
btrfs: use list_for_each_entry_safe in free-space-cache.c

Use list_for_each_entry_safe() instead of list_for_each_safe() 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/free-space-cache.c