commit | 9da10e8da3b3e126d82973e2147ba47767fb3b0e | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Tue Aug 29 10:20:33 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Aug 29 15:34:44 2017 -0600 |
tree | b04c971cf54d6ef659f2bcb1439ee8f68b11f3f2 | |
parent | c51a0ef3747a412df4a7345d939190a99bc2a0cc [diff] |
drbd: change list_for_each_safe to while(list_first_entry_or_null) Two instances of list_for_each_safe can drop their tmp element, they really just peel off each element in turn from the start of the list. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>