[PATCH] flat binary loader doesn't check fd table full
authorLuke Yang <luke.adi@gmail.com>
Sat, 25 Mar 2006 11:08:24 +0000 (03:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:23:01 +0000 (08:23 -0800)
commit1ad3dcc09c88c6e01d7624398c591ff3aee22fbe
tree80c1d28cf329a781ac137858eb6c613fb0eb424e
parentf5163427453bc6ca2dd497eeb3e7a30d1c74b487
[PATCH] flat binary loader doesn't check fd table full

In binfmt_flat.c, the flat binary loader should check file descriptor table
and install the fd on the file.

Convert the function to single-exit and fix this bug.

Signed-off-by: "Luke Yang" <luke.adi@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/binfmt_flat.c