orangefs: use list_for_each_entry_safe in purge_waiting_ops
authorMartin Brandenburg <martin@omnibond.com>
Mon, 22 Jan 2018 20:44:51 +0000 (15:44 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <martin@omnibond.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/orangefs/waitqueue.c