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/
This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:27 EST