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

> At this point in sys_swapon, there is nothing to free. Return directly
> instead of jumping to the cleanup block at the end of the function.
>
> 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>

I think it's ok to be merged with 4/24...



\
 
 \ /
  Last update: 2011-03-07 10:37    [from the cache]
©2003-2011 Jasper Spaans