rem: err = -EPROTO;
add: err = -EIO;
context: static int sshfs_getattr(const char *path, struct stat *stbuf){    int err;    struct buffer buf;    struct buffer outbuf;    buf_init(&buf, 0);    buf_add_path(&buf, path);    err = sftp_request(SSH_FXP_LSTAT, &buf, SSH_FXP_ATTRS, &outbuf);    if (!err) {        if (buf_get_attrs(&outbuf, stbuf, NULL) == -1)            err = -EPROTO;        buf_free(&outbuf);    }    buf_free(&buf);    return err;}