diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-12-06 20:36:53 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:34 -0800 |
commit | 68062b86fc0f480b806d270a8278709a5a41bb67 (patch) | |
tree | b8a89eb4aa6c29ded09283b7a88960e9fa106650 /security | |
parent | 34ec12349c8a9505adc59d72f92b4595bc2483ff (diff) |
[PATCH] taskstats: factor out reply assembling
Introduce mk_reply() helper which does all nla_put()s on reply.
Saves 453 bytes and a preparation for the next patch.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Shailabh Nagar <nagar@watson.ibm.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Jay Lan <jlan@sgi.com>
Cc: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions