TOMOYO: Change list iterator.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Thu, 24 Jun 2010 02:28:14 +0000 (11:28 +0900)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:34:44 +0000 (15:34 +1000)
Change list_for_each_cookie to

(1) start from current position rather than next position
(2) remove temporary cursor
(3) check that srcu_read_lock() is held

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found