]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: use a nonzero reference count on the fake module
authorNick Alcock <nick.alcock@oracle.com>
Wed, 25 Feb 2015 09:27:21 +0000 (09:27 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:30:08 +0000 (15:30 +0100)
commit399fbb1af278c8261abc5b4c9a44282d21b6b813
tree6efd611839c5d17d8086522bd2b2cd436f90e721
parente2d1bade0b53e95b0c4b3988bcf63d1fe0b42401
dtrace: use a nonzero reference count on the fake module

As of 3.19, try_module_get() fails if this is zero, on the grounds that the
module is going away.

(This was disguised until the module's memory was properly initialized.)

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Acked-by: Kris Van Hees <kris.van.hees@oracle.com>
kernel/dtrace/dtrace_os.c