9p: use an IS_ERR test rather than a NULL test