module: move module args strndup_user to just before use
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 18:59:10 +0000 (12:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 03:29:12 +0000 (12:59 +0930)
commit6526c534b2677ca601b7b92851437feb041d02a1
treed6d0f6d8cf2b685b2d1d345d938ca5816860dd89
parent49668688dd5a5f46c72f965835388ed16c596055
module: move module args strndup_user to just before use

Instead of copying and allocating the args and storing it in
load_info, we can just allocate them right before we need them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c