Alexey Dobriyan e4dc1b14d8 Use list_head in binfmt handling
Switch single-linked binfmt formats list to usual list_head's.  This leads
to one-liners in register_binfmt() and unregister_binfmt().  The downside
is one pointer more in struct linux_binfmt.  This is not a problem, since
the set of registered binfmts on typical box is very small -- (ELF +
something distro enabled for you).

Test-booted, played with executable .txt files, modprobe/rmmod binfmt_misc.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:46 -07:00
..
2007-05-11 05:38:25 -04:00
2005-04-16 15:20:36 -07:00
2007-07-29 17:09:29 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-10-16 11:27:32 +02:00
2007-10-16 09:43:10 -07:00
2007-10-16 09:42:51 -07:00
2006-05-12 12:45:50 -07:00
2007-10-13 21:53:14 -07:00
2007-10-13 21:53:14 -07:00
2007-10-16 11:27:32 +02:00
2007-10-13 21:53:14 -07:00
2007-07-29 17:09:29 -07:00
2007-05-08 11:14:58 -07:00
2006-03-20 01:14:19 -08:00
2007-07-26 11:11:56 -07:00
2007-10-13 21:53:10 -07:00