commit | 65b8a9b4d5525348e55cf63a43517610ee8e0970 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Thu Aug 05 12:59:02 2010 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Aug 05 12:59:03 2010 +0930 |
tree | 1661d4bc368c768e803a1de4ddb0191bb71acab8 | |
parent | f91a13bb99b73961d4e2743a6ff296ac553abc4f [diff] |
module: refactor load_module part 2 Here's a second one. It's slightly less trivial - since we now have error cases - and equally untested so it may well be totally broken. But it also cleans up a bit more, and avoids one of the goto targets, because the "move_module()" helper now does both allocations or none. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>