debugfs: use list_next_entry() in debugfs_remove_recursive()
authorOleg Nesterov <oleg@redhat.com>
Tue, 12 Nov 2013 23:10:04 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:24 +0000 (12:09 +0900)
commit6bc080d8fdae33f4463203a400cfaa01e91701e2
tree3d88fc27cc2b9d87f63340bd415adabef1380c29
parent93be3c2eb3371f022ad88acf1ab6bee8e3c38378
debugfs: use list_next_entry() in debugfs_remove_recursive()

Change debugfs_remove_recursive() to use list_next_entry(child), no
changes in generated code.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/debugfs/inode.c