lkml.org 
[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [OOPS] 2.5.62, bootup, do_add_mount
Maneesh Soni <maneesh@in.ibm.com> wrote:
>
>
> Hi Peter,
>
> presto_get_sb() is returning error resulting in the following NULL
> pointer reference in do_kern_mount(). The following patch corrects
> it.
>

It should be returning some ERR_PTR value. Seems that presto_get_sb() isn't
very careful in tracking the reason for the failed mount, so

return ERR_PTR(-EINVAL);

should suffice.
-
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:33    [W:0.035 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site