Skip to content
  • Ross Lagerwall's avatar
    fuse: Fix seek offset calculation · 64ccbde1
    Ross Lagerwall authored and Alexander Larsson's avatar Alexander Larsson committed
    Since fh->pos is already incremented by n_bytes_skipped, check if
    offset == fh->pos.
    
    This error was hidden by the fact that the operation is retried when
    -EIO is returned.  When it was retried, the stream was already in the
    correct position and so no seek operation was required.
    64ccbde1