]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kernfs: make kernfs_get_active() block if the node is deactivated but not...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:13:39 +0000 (14:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:13:39 +0000 (14:13 -0800)
commit4809277f4ae289128ccd54b700f5d15a807bb389
tree2dc8a21d0432bad2fe86c5a41cc24f972948025e
parentd32d63461cb84ca9b766347c0d60748048cdf060
Revert "kernfs: make kernfs_get_active() block if the node is deactivated but not removed"

This reverts commit ba79ef458b51051412e23896d895458e6b954552.

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