1. 16 Sep, 2010 8 commits
    • Arnd Bergmann's avatar
      viotape: use noop_llseek · aadbd436
      Arnd Bergmann authored
      Some applications try to seek on tape devices
      and fail if they return an error. Since we
      want to change the default llseek action to
      no_llseek, viotape needs to be changed to use
      noop_llseek explicitly.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      aadbd436
    • Arnd Bergmann's avatar
      raw: use explicit llseek file operations · cb3b9cf8
      Arnd Bergmann authored
      The raw_fops may need to seek, so there should
      be an explicit reference to default_llseek.
      raw_ctl_fops does not contain a read or write
      method, so we use noop_llseek to ignore seeking
      requests without an error.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      cb3b9cf8
    • Arnd Bergmann's avatar
      ibmasmfs: use generic_file_llseek · 275bd41a
      Arnd Bergmann authored
      The default for llseek will change to no_llseek,
      so ibmasmfs needs to add explicit .llseek
      assignments. Since we're dealing with regular
      files from a VFS perspective, use generic_file_llseek.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      275bd41a
    • Arnd Bergmann's avatar
      spufs: use llseek in all file operations · fe3b79df
      Arnd Bergmann authored
      The default for llseek is changing, so we need
      explicit operations everywhere.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Jeremy Kerr <jk@ozlabs.org>
      Cc: linuxppc-dev@ozlabs.org
      fe3b79df
    • Arnd Bergmann's avatar
      arm/omap: use generic_file_llseek in iommu_debug · c0b0aca0
      Arnd Bergmann authored
      In future kernels, debugfs files need to specify
      the llseek operation explicitly to allow seeking.
      This sets the llseek operation in the omap iommu
      debugfs files to generic_file_llseek, which is
      appropriate for files using simple_read_from_buffer.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: linux-omap@vger.kernel.org
      c0b0aca0
    • Arnd Bergmann's avatar
      lkdtm: use generic_file_llseek in debugfs · 05271ec4
      Arnd Bergmann authored
      When the default llseek behavior gets changed to
      not allowing seek, all file operations that rely
      on the current behaviour need to use an explicit
      .llseek operation.
      
      The files that lkdtm uses in debugfs are regular
      files and they get read using simple_read_from_buffer,
      so generic_file_llseek is the right operation.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      05271ec4
    • Arnd Bergmann's avatar
      net/wireless: use generic_file_llseek in debugfs · 2b18ab36
      Arnd Bergmann authored
      The default llseek operation is changing from
      default_llseek to no_llseek, so all code relying on
      the current behaviour needs to make that explicit.
      
      The wireless driver infrastructure and some of the drivers
      make use of generated debugfs files, so they cannot
      be converted by our script that automatically determines
      the right operation.
      
      All these files use debugfs and they typically rely
      on simple_read_from_buffer, so the best llseek operation
      here is generic_file_llseek.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      2b18ab36
    • Arnd Bergmann's avatar
      drm: use noop_llseek · dc880abe
      Arnd Bergmann authored
      The drm device drivers currently allow seeking on the
      character device but never care about the actual
      file position.
      
      When we change the default llseek operation to be
      no_llseek, calling llseek on a drm device would
      return an error condition, which is an API change.
      
      Explicitly setting noop_llseek lets us keep the
      current API.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      dc880abe
  2. 12 Sep, 2010 1 commit
  3. 11 Sep, 2010 13 commits
  4. 10 Sep, 2010 18 commits