• Linus Torvalds's avatar
    Merge tag 'pull-work.lseek' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · a782e866
    Linus Torvalds authored
    Pull vfs lseek updates from Al Viro:
     "Jason's lseek series.
    
      Saner handling of 'lseek should fail with ESPIPE' - this gets rid of
      the magical no_llseek thing and makes checks consistent.
    
      In particular, the ad-hoc "can we do splice via internal pipe" checks
      got saner (and somewhat more permissive, which is what Jason had been
      after, AFAICT)"
    
    * tag 'pull-work.lseek' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      fs: remove no_llseek
      fs: check FMODE_LSEEK to control internal pipe splicing
      vfio: do not set FMODE_LSEEK flag
      dma-buf: remove useless FMODE_LSEEK flag
      fs: do not compare against ->llseek
      fs: clear or set FMODE_LSEEK based on llseek function
    a782e866
read_write.c 40.1 KB