orangefs: use list_for_each_entry_safe in purge_waiting_ops
authorMartin Brandenburg <[email protected]>
Mon, 22 Jan 2018 20:44:51 +0000 (15:44 -0500)
committerLinus Torvalds <[email protected]>
Mon, 22 Jan 2018 21:51:14 +0000 (13:51 -0800)
commit0afc0decf247f65b7aba666a76a0a68adf4bc435
treef6b4e8f1d4888c953be4624f85e5920f49d49222
parent7222708e823afc98dfb769d36bf2f26b6420b7ce
orangefs: use list_for_each_entry_safe in purge_waiting_ops

set_op_state_purged can delete the op.

Signed-off-by: Martin Brandenburg <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
fs/orangefs/waitqueue.c