kref: double kref_put() in my_data_handler()
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 18 Sep 2009 02:26:04 +0000 (19:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Sep 2009 16:48:52 +0000 (09:48 -0700)
commit8f1ecc9fbc5b223e4f5d5bb8bcd6f5672c4bc4b6
tree50f408e2cc2ae27c6f24de740666fc57a8c880b6
parentafa12e72decb84cb8378ae2e66e51336e3c66962
kref: double kref_put() in my_data_handler()

The kref_put() already occurs after the out label

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kref.txt