OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jan 2018 11:55:50 +0000 (12:55 +0100)
commitfb39345e73141e4ae4529168965c37024cb3acb3
tree89fde1731a0090975fa64b388439a4d2b3006eeb
parentc36c940cd4aab393c09d457e2414423ac92bd339
orangefs: use list_for_each_entry_safe in purge_waiting_ops

commit 0afc0decf247f65b7aba666a76a0a68adf4bc435 upstream.

set_op_state_purged can delete the op.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/orangefs/waitqueue.c