21 May, 2010

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
    PM: PM QOS update fix
    Freezer / cgroup freezer: Update stale locking comments
    PM / platform_bus: Allow runtime PM by default
    i2c: Fix bus-level power management callbacks
    PM QOS update
    PM / Hibernate: Fix block_io.c printk warning
    PM / Hibernate: Group swap ops
    PM / Hibernate: Move the first_sector out of swsusp_write
    PM / Hibernate: Separate block_io
    PM / Hibernate: Snapshot cleanup
    FS / libfs: Implement simple_write_to_buffer
    PM / Hibernate: document open(/dev/snapshot) side effects
    PM / Runtime: Add sysfs debug files
    PM: Improve device power management document
    PM: Update device power management document
    PM: Allow runtime_suspend methods to call pm_schedule_suspend()
    PM: pm_wakeup - switch to using bool

    Linus Torvalds
     

20 May, 2010

4 commits

  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: (61 commits)
    KEYS: Return more accurate error codes
    LSM: Add __init to fixup function.
    TOMOYO: Add pathname grouping support.
    ima: remove ACPI dependency
    TPM: ACPI/PNP dependency removal
    security/selinux/ss: Use kstrdup
    TOMOYO: Use stack memory for pending entry.
    Revert "ima: remove ACPI dependency"
    Revert "TPM: ACPI/PNP dependency removal"
    KEYS: Do preallocation for __key_link()
    TOMOYO: Use mutex_lock_interruptible.
    KEYS: Better handling of errors from construct_alloc_key()
    KEYS: keyring_serialise_link_sem is only needed for keyring->keyring links
    TOMOYO: Use GFP_NOFS rather than GFP_KERNEL.
    ima: remove ACPI dependency
    TPM: ACPI/PNP dependency removal
    selinux: generalize disabling of execmem for plt-in-heap archs
    LSM Audit: rename LSM_AUDIT_NO_AUDIT to LSM_AUDIT_DATA_NONE
    CRED: Holding a spinlock does not imply the holding of RCU read lock
    SMACK: Don't #include Ext2 headers
    ...

    Linus Torvalds
     
  • * 'for-2.6.35' of git://linux-nfs.org/~bfields/linux: (45 commits)
    Revert "nfsd4: distinguish expired from stale stateids"
    nfsd: safer initialization order in find_file()
    nfs4: minor callback code simplification, comment
    NFSD: don't report compiled-out versions as present
    nfsd4: implement reclaim_complete
    nfsd4: nfsd4_destroy_session must set callback client under the state lock
    nfsd4: keep a reference count on client while in use
    nfsd4: mark_client_expired
    nfsd4: introduce nfs4_client.cl_refcount
    nfsd4: refactor expire_client
    nfsd4: extend the client_lock to cover cl_lru
    nfsd4: use list_move in move_to_confirmed
    nfsd4: fold release_session into expire_client
    nfsd4: rename sessionid_lock to client_lock
    nfsd4: fix bare destroy_session null dereference
    nfsd4: use local variable in nfs4svc_encode_compoundres
    nfsd: further comment typos
    sunrpc: centralise most calls to svc_xprt_received
    nfsd4: fix unlikely race in session replay case
    nfsd4: fix filehandle comment
    ...

    Linus Torvalds
     
  • * 'nfs-for-2.6.35' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6: (78 commits)
    SUNRPC: Don't spam gssd with upcall requests when the kerberos key expired
    SUNRPC: Reorder the struct rpc_task fields
    SUNRPC: Remove the 'tk_magic' debugging field
    SUNRPC: Move the task->tk_bytes_sent and tk_rtt to struct rpc_rqst
    NFS: Don't call iput() in nfs_access_cache_shrinker
    NFS: Clean up nfs_access_zap_cache()
    NFS: Don't run nfs_access_cache_shrinker() when the mask is GFP_NOFS
    SUNRPC: Ensure rpcauth_prune_expired() respects the nr_to_scan parameter
    SUNRPC: Ensure memory shrinker doesn't waste time in rpcauth_prune_expired()
    SUNRPC: Dont run rpcauth_cache_shrinker() when gfp_mask is GFP_NOFS
    NFS: Read requests can use GFP_KERNEL.
    NFS: Clean up nfs_create_request()
    NFS: Don't use GFP_KERNEL in rpcsec_gss downcalls
    NFSv4: Don't use GFP_KERNEL allocations in state recovery
    SUNRPC: Fix xs_setup_bc_tcp()
    SUNRPC: Replace jiffies-based metrics with ktime-based metrics
    ktime: introduce ktime_to_ms()
    SUNRPC: RPC metrics and RTT estimator should use same RTT value
    NFS: Calldata for nfs4_renew_done()
    NFS: Squelch compiler warning in nfs_add_server_stats()
    ...

    Linus Torvalds
     
  • * 'bkl/procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing:
    sunrpc: Include missing smp_lock.h
    procfs: Kill the bkl in ioctl
    procfs: Push down the bkl from ioctl
    procfs: Use generic_file_llseek in /proc/vmcore
    procfs: Use generic_file_llseek in /proc/kmsg
    procfs: Use generic_file_llseek in /proc/kcore
    procfs: Kill BKL in llseek on proc base

    Linus Torvalds
     

19 May, 2010

2 commits

  • This reverts commit 78155ed75f470710f2aecb3e75e3d97107ba8374.

    We're depending here on the boot time that we use to generate the
    stateid being monotonic, but get_seconds() is not necessarily.

    We still depend at least on boot_time being different every time, but
    that is a safer bet.

    We have a few reports of errors that might be explained by this problem,
    though we haven't been able to confirm any of them.

    But the minor gain of distinguishing expired from stale errors seems not
    worth the risk.

    Conflicts:

    fs/nfsd/nfs4state.c

    Signed-off-by: J. Bruce Fields

    J. Bruce Fields
     
  • The alloc_init_file() first adds a file to the hash and then
    initializes its fi_inode, fi_id and fi_had_conflict.

    The uninitialized fi_inode could thus be erroneously checked by
    the find_file(), so move the hash insertion lower.

    The client_mutex should prevent this race in practice; however, we
    eventually hope to make less use of the client_mutex, so the ordering
    here is an accident waiting to happen.

    I didn't find whether the same can be true for two other fields,
    but the common sense tells me it's better to initialize an object
    before putting it into a global hash table :)

    Signed-off-by: Pavel Emelyanov
    Signed-off-by: J. Bruce Fields

    Pavel Emelyanov
     

18 May, 2010

8 commits

  • Note the position in the version array doesn't have to match the actual
    rpc version number--to me it seems clearer to maintain the distinction.

    Also document choice of rpc callback version number, as discussed in
    e.g. http://www.ietf.org/mail-archive/web/nfsv4/current/msg07985.html
    and followups.

    Signed-off-by: J. Bruce Fields

    J. Bruce Fields
     
  • …/git/tip/linux-2.6-tip

    * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (49 commits)
    stop_machine: Move local variable closer to the usage site in cpu_stop_cpu_callback()
    sched, wait: Use wrapper functions
    sched: Remove a stale comment
    ondemand: Make the iowait-is-busy time a sysfs tunable
    ondemand: Solve a big performance issue by counting IOWAIT time as busy
    sched: Intoduce get_cpu_iowait_time_us()
    sched: Eliminate the ts->idle_lastupdate field
    sched: Fold updating of the last_update_time_info into update_ts_time_stats()
    sched: Update the idle statistics in get_cpu_idle_time_us()
    sched: Introduce a function to update the idle statistics
    sched: Add a comment to get_cpu_idle_time_us()
    cpu_stop: add dummy implementation for UP
    sched: Remove rq argument to the tracepoints
    rcu: need barrier() in UP synchronize_sched_expedited()
    sched: correctly place paranioa memory barriers in synchronize_sched_expedited()
    sched: kill paranoia check in synchronize_sched_expedited()
    sched: replace migration_thread with cpu_stop
    stop_machine: reimplement using cpu_stop
    cpu_stop: implement stop_cpu[s]()
    sched: Fix select_idle_sibling() logic in select_task_rq_fair()
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (23 commits)
    cifs: fix noserverino handling when unix extensions are enabled
    cifs: don't update uniqueid in cifs_fattr_to_inode
    cifs: always revalidate hardlinked inodes when using noserverino
    [CIFS] drop quota operation stubs
    cifs: propagate cifs_new_fileinfo() error back to the caller
    cifs: add comments explaining cifs_new_fileinfo behavior
    cifs: remove unused parameter from cifs_posix_open_inode_helper()
    [CIFS] Remove unused cifs_oplock_cachep
    cifs: have decode_negTokenInit set flags in server struct
    cifs: break negotiate protocol calls out of cifs_setup_session
    cifs: eliminate "first_time" parm to CIFS_SessSetup
    [CIFS] Fix lease break for writes
    cifs: save the dialect chosen by server
    cifs: change && to ||
    cifs: rename "extended_security" to "global_secflags"
    cifs: move tcon find/create into separate function
    cifs: move SMB session creation code into separate function
    cifs: track local_nls in volume info
    [CIFS] Allow null nd (as nfs server uses) on create
    [CIFS] Fix losing locks during fork()
    ...

    Linus Torvalds
     
  • James Morris
     
  • The uniqueid field sent by the server when unix extensions are enabled
    is currently used sometimes when it shouldn't be. The readdir codepath
    is correct, but most others are not. Fix it.

    Signed-off-by: Jeff Layton
    Signed-off-by: Steve French

    Jeff Layton
     
  • We use this value to find an inode within the hash bucket, so we can't
    change this without re-hashing the inode. For now, treat this value
    as immutable.

    Eventually, we should probably use an inode number change on a path
    based operation to indicate that the lookup cache is invalid, but that's
    a bit more code to deal with.

    Signed-off-by: Jeff Layton
    Signed-off-by: Steve French

    Jeff Layton
     
  • The old cifs_revalidate logic always revalidated hardlinked inodes.
    This hack allowed CIFS to pass some connectathon tests when server inode
    numbers aren't used (basic test7, in particular).

    Signed-off-by: Jeff Layton
    Signed-off-by: Steve French

    Jeff Layton
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/joern/logfs:
    logfs: handle powerfail on NAND flash
    logfs: handle errors from get_mtd_device()
    logfs: remove unused variable
    logfs: fix sync
    logfs: fix compile failure
    logfs: initialize li->li_refcount
    logfs: commit reservations under space pressure
    logfs: survive logfs_buf_recover read errors
    logfs: Close i_ino reuse race
    logfs: fix logfs_seek_hole()
    logfs: Return -EINVAL if filesystem image doesn't match
    LogFS: Fix typo in b6349ac8
    logfs: testing the wrong variable

    Linus Torvalds
     

17 May, 2010

1 commit

  • There are no more users of procfs that implement the ioctl
    callback. Drop the bkl from this path and warn on any use
    of this callback.

    Signed-off-by: Frederic Weisbecker
    Cc: Arnd Bergmann
    Cc: Thomas Gleixner
    Cc: Andrew Morton
    Cc: Ingo Molnar
    Cc: John Kacur
    Cc: KAMEZAWA Hiroyuki
    Cc: Al Viro

    Frederic Weisbecker
     

16 May, 2010

3 commits


15 May, 2010

21 commits