lkml.org 
[lkml]   [2011]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2 04/24] sys_swapon: separate swap_info allocation
On Sat,  5 Mar 2011 13:42:05 -0300
Cesar Eduardo Barros <cesarb@cesarb.net> wrote:

> Move the swap_info allocation to its own function. Only code movement,
> no functional changes.
>
> Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
> Tested-by: Eric B Munson <emunson@mgebm.net>
> Acked-by: Eric B Munson <emunson@mgebm.net>

Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

BTW, I like "allocation returns NULL at failure" if the only error value
is -ENOMEM...




\
 
 \ /
  Last update: 2011-03-07 10:37    [W:0.340 / U:2.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site