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/