lkml.org 
[lkml]   [2002]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] swapfile.c
From
Date
On Mon, 2002-03-04 at 06:28, Andrey Panin wrote:
> On Сбт, Мар 02, 2002 at 09:25:16 +0000, Andries.Brouwer@cwi.nl wrote:
> > In 2.5.2 swapfile.c was broken:
> > In sys_swapon() we see
> >
> > swap_file = filp_open(name, O_RDWR, 0);
> > if (IS_ERR(swap_file))
> > goto bad_swap_2;
> >
> > bad_swap_2:
> > ...
> > if (swap_file)
> > filp_close(swap_file, NULL);
> >
> > and this oopses the kernel.
>
> Fixed in -dj tree.

Eww, nice spotting Andries. If it is in the -dj tree, someone want to
push that bit to Linus?

Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.064 / U:18.516 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site