Bugfix - correcting u->prepare_retvals on each read/write success/error handling functions, as if both read and write are done simultaenously, they may override each others preapre_retvals function.