Skip to content
Commit d2c9740b authored by Denis Cheng's avatar Denis Cheng Committed by Linus Torvalds
Browse files

nbd: use list_for_each_entry_safe to make it more consolidated and readable



Thus the traverse of the loop may delete nodes, use the safe version.

Signed-off-by: default avatarDenis Cheng <crquan@gmail.com>
Cc: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 04fc8bbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment