1. 13 Dec, 2011 1 commit
    • Tejun Heo's avatar
      cgroup: add cgroup_root_mutex · e25e2cbb
      Tejun Heo authored
      cgroup wants to make threadgroup stable while modifying cgroup
      hierarchies which will introduce locking dependency on
      cred_guard_mutex from cgroup_mutex.  This unfortunately completes
      circular dependency.
      
       A. cgroup_mutex -> cred_guard_mutex -> s_type->i_mutex_key -> namespace_sem
       B. namespace_sem -> cgroup_mutex
      
      B is from cgroup_show_options() and this patch breaks it by
      introducing another mutex cgroup_root_mutex which nests inside
      cgroup_mutex and protects cgroupfs_root.
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Reviewed-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Acked-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
      Cc: Oleg Nesterov <oleg@redhat.com>
      e25e2cbb
  2. 08 Dec, 2011 1 commit
  3. 06 Dec, 2011 1 commit
  4. 24 Nov, 2011 1 commit
  5. 23 Nov, 2011 15 commits
  6. 22 Nov, 2011 18 commits
  7. 21 Nov, 2011 3 commits
    • Al Viro's avatar
      iio: fix a leak due to improper use of anon_inode_getfd() · b4641336
      Al Viro authored
      it can fail and in that case ->release() will *not* be called...
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      b4641336
    • Al Viro's avatar
      microblaze: bury asm/namei.h · c332c10c
      Al Viro authored
      altroot support has been gone for years, along with arch/*/asm/namei.h;
      looks like a dummy survivor that sat it out in microblaze tree...
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      c332c10c
    • Tejun Heo's avatar
      usb_storage: don't use set_freezable_with_signal() · ec012476
      Tejun Heo authored
      The current implementation of set_freezable_with_signal() is buggy and
      tricky to get right.  usb-storage is the only user and its use can be
      avoided trivially.
      
      All usb-storage wants is to be able to sleep with timeout and get
      woken up if freezing() becomes true.  This can be trivially
      implemented by doing interruptible wait w/ freezing() included in the
      wait condition.  There's no reason to use set_freezable_with_signal().
      
      Perform interruptible wait on freezing() instead of using
      set_freezable_with_signal(), which is scheduled for removal.
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
      Cc: Seth Forshee <seth.forshee@canonical.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      ec012476