]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kref: double kref_put() in my_data_handler()"
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 6 Mar 2017 07:19:27 +0000 (08:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 16:38:10 +0000 (18:38 +0200)
commit3cf9a386f356e45e5c764e0a4cbe631fa5589e83
tree12d91d68f5ad378b5fca11f105058534171a9d48
parent395fefaf79a449033aa5dbd0515c1f0707f5f3cd
Revert "kref: double kref_put() in my_data_handler()"

This reverts commit a2eaa1e2803ac47af56a39b342cc0acb20a0c431.

The correction is incorrect, see discussion at

http://stackoverflow.com/questions/20093127/why-kref-doc-of-linux-kernel-omits-kref-put-when-kthread-run-fail

Reported-by: KrishnamRaju raju <ekraju@gmail.com>
Cc: Roel Kluin <roel.kluin@gmail.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: KrishnamRaju raju <ekraju@gmail.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/kref.txt