summaryrefslogtreecommitdiffstats
path: root/include/linux/lockd
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-02-15 19:12:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-20 14:09:14 -0800
commitf7c81c7176c72c7899390754b4b038a64b296e4d (patch)
tree93a6d5d07f62c2e2d670670d311b21f786ecbe64 /include/linux/lockd
parentcde4ad8368840e414ecf67db258fe1dabaa5fd2e (diff)
downloadtalos-op-linux-f7c81c7176c72c7899390754b4b038a64b296e4d.tar.gz
talos-op-linux-f7c81c7176c72c7899390754b4b038a64b296e4d.zip
stm class: Fix unbalanced module/device refcounting
STM code takes references to the stm device and its module for the duration of the character device's existence or the stm_source link. Dropping these references is not well balanced everywhere, which may lead to leaks. This patch balances the acquisition and releasing of these two references and annotates each site so that it's easier to verify correctness by reading the code. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/lockd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud