]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kernfs: replace kernfs_node->u.completion with kernfs_root->deactivate_waitq"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:43:11 +0000 (14:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:43:11 +0000 (14:43 -0800)
commit1d5a0e9e2431a0518d6a6e2035fce804829bc9bb
tree47e2f102a0dd40ae822a8b7c470da07f3a1b9081
parentcfd9c1ad5aa9e21c259cd602bdf6ac33ed7bde81
Revert "kernfs: replace kernfs_node->u.completion with kernfs_root->deactivate_waitq"

This reverts commit 0087a118470f7d67f2d6ea99b851fc3bb03aa599.

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