]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kernfs: implement kernfs_{de|re}activate[_self]()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:09:38 +0000 (14:09 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:09:38 +0000 (14:09 -0800)
commite1d26507347bc9010cc9efdc7a8ad6f0cb2363b5
tree827aec07fe844addd8e1dd2d1f09b4bb855c9cd1
parent44e14be006190336a30f7321ffb9a91f822dc5dc
Revert "kernfs: implement kernfs_{de|re}activate[_self]()"

This reverts commit 016e376949d9bef7c0382f69d7f620c8ab227c70.

Tejun writes:
        I'm sorry but can you please revert the whole series?
        get_active() waiting while a node is deactivated has potential
        to lead to deadlock and that deactivate/reactivate interface is
        something fundamentally flawed and that cgroup will have to work
        with the remove_self() like everybody else.  IOW, I think the
        first posting was correct.

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/kernfs/dir.c
include/linux/kernfs.h