1. 16 9月, 2010 7 次提交
    • A
      lirc: make chardev nonseekable · d9d2e9d5
      Arnd Bergmann 提交于
      There does not seem to be a need for lirc to
      allow seeking on the file descriptor, so let's
      just disallow this before users start relying
      on it.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      d9d2e9d5
    • A
      viotape: use noop_llseek · aadbd436
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      aadbd436
    • 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
      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. 10 9月, 2010 23 次提交
  3. 09 9月, 2010 9 次提交
  4. 08 9月, 2010 1 次提交