1. 03 8月, 2010 16 次提交
  2. 30 7月, 2010 1 次提交
    • D
      CRED: Fix __task_cred()'s lockdep check and banner comment · 8f92054e
      David Howells 提交于
      Fix __task_cred()'s lockdep check by removing the following validation
      condition:
      
      	lockdep_tasklist_lock_is_held()
      
      as commit_creds() does not take the tasklist_lock, and nor do most of the
      functions that call it, so this check is pointless and it can prevent
      detection of the RCU lock not being held if the tasklist_lock is held.
      
      Instead, add the following validation condition:
      
      	task->exit_state >= 0
      
      to permit the access if the target task is dead and therefore unable to change
      its own credentials.
      
      Fix __task_cred()'s comment to:
      
       (1) discard the bit that says that the caller must prevent the target task
           from being deleted.  That shouldn't need saying.
      
       (2) Add a comment indicating the result of __task_cred() should not be passed
           directly to get_cred(), but rather than get_task_cred() should be used
           instead.
      
      Also put a note into the documentation to enforce this point there too.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NJiri Olsa <jolsa@redhat.com>
      Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8f92054e
  3. 25 7月, 2010 1 次提交
  4. 21 7月, 2010 1 次提交
  5. 14 7月, 2010 1 次提交
  6. 09 7月, 2010 1 次提交
  7. 02 7月, 2010 1 次提交
  8. 19 6月, 2010 1 次提交
  9. 12 6月, 2010 1 次提交
  10. 03 6月, 2010 3 次提交
  11. 02 6月, 2010 2 次提交
  12. 01 6月, 2010 4 次提交
  13. 28 5月, 2010 7 次提交
    • B
      ARM: SAMSUNG: Documentation: add documentation on GPIO code · d192baea
      Ben Dooks 提交于
      Add some documentation in Documentation/arm/Samsung for the GPIO code
      and where to look for the necessary functions. Update the S3C24XX case
      as well.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      d192baea
    • B
      ARM: S3C24XX: Documentation: add section on gpiolib changes · 0639b93d
      Ben Dooks 提交于
      Add section to the S3C24XX GPIO documentation on the recent changes
      to move towards gpiolib integration.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      0639b93d
    • B
      ARM: S3C24XX: Documentation: update GPIO documentation · 70f5c9a4
      Ben Dooks 提交于
      Upate the S3C24XX GPIO documentation after the changes for gpiolib
      and show which calls are being replaced by gpiolib or the new s3c
      generic calls.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      70f5c9a4
    • B
      ARM: S3C24XX: Documentation: update documentation overview · b9f141ac
      Ben Dooks 提交于
      Add the two new SoCs added in this release cycle and update the notes
      on the gpiolib conversion.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      b9f141ac
    • B
      ARM: SAMSUNG: Documentation: update directory layout · 1b03ef46
      Ben Dooks 提交于
      Update the directory layout in Documentation/arm/Samsung/Overview.txt
      to reflect the changes that have been made in the latest kernel
      updates.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      1b03ef46
    • B
      ARM: SAMSUNG: Documentation: update the list of SoCs supported · 1378a7ef
      Ben Dooks 提交于
      Update the list of SoCs supported for the plat-s5p range.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      1378a7ef
    • N
      fs: introduce new truncate sequence · 7bb46a67
      npiggin@suse.de 提交于
      Introduce a new truncate calling sequence into fs/mm subsystems. Rather than
      setattr > vmtruncate > truncate, have filesystems call their truncate sequence
      from ->setattr if filesystem specific operations are required. vmtruncate is
      deprecated, and truncate_pagecache and inode_newsize_ok helpers introduced
      previously should be used.
      
      simple_setattr is introduced for simple in-ram filesystems to implement
      the new truncate sequence. Eventually all filesystems should be converted
      to implement a setattr, and the default code in notify_change should go
      away.
      
      simple_setsize is also introduced to perform just the ATTR_SIZE portion
      of simple_setattr (ie. changing i_size and trimming pagecache).
      
      To implement the new truncate sequence:
      - filesystem specific manipulations (eg freeing blocks) must be done in
        the setattr method rather than ->truncate.
      - vmtruncate can not be used by core code to trim blocks past i_size in
        the event of write failure after allocation, so this must be performed
        in the fs code.
      - convert usage of helpers block_write_begin, nobh_write_begin,
        cont_write_begin, and *blockdev_direct_IO* to use _newtrunc postfixed
        variants. These avoid calling vmtruncate to trim blocks (see previous).
      - inode_setattr should not be used. generic_setattr is a new function
        to be used to copy simple attributes into the generic inode.
      - make use of the better opportunity to handle errors with the new sequence.
      
      Big problem with the previous calling sequence: the filesystem is not called
      until i_size has already changed.  This means it is not allowed to fail the
      call, and also it does not know what the previous i_size was. Also, generic
      code calling vmtruncate to truncate allocated blocks in case of error had
      no good way to return a meaningful error (or, for example, atomically handle
      block deallocation).
      
      Cc: Christoph Hellwig <hch@lst.de>
      Acked-by: NJan Kara <jack@suse.cz>
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      7bb46a67