1. 16 9月, 2010 7 次提交
    • A
      raw: use explicit llseek file operations · cb3b9cf8
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      cb3b9cf8
    • A
      ibmasmfs: use generic_file_llseek · 275bd41a
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      275bd41a
    • A
      spufs: use llseek in all file operations · fe3b79df
      Arnd Bergmann 提交于
      The default for llseek is changing, so we need
      explicit operations everywhere.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Jeremy Kerr <jk@ozlabs.org>
      Cc: linuxppc-dev@ozlabs.org
      fe3b79df
    • A
      arm/omap: use generic_file_llseek in iommu_debug · c0b0aca0
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: linux-omap@vger.kernel.org
      c0b0aca0
    • A
      lkdtm: use generic_file_llseek in debugfs · 05271ec4
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      05271ec4
    • A
      net/wireless: use generic_file_llseek in debugfs · 2b18ab36
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      2b18ab36
    • A
      drm: use noop_llseek · dc880abe
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      dc880abe
  2. 13 9月, 2010 1 次提交
  3. 12 9月, 2010 6 次提交
  4. 11 9月, 2010 8 次提交
  5. 10 9月, 2010 18 次提交