aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorJoshua Clayton <stillcompiling@gmail.com>2015-12-26 22:47:36 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-03 14:22:53 -0800
commita4113d61e53c6cd866f1e760648a41ff95c9b9ba (patch)
treebf5401dc5460cdce5596825f7ada2e10e0d4f5ee /scripts/checkstack.pl
parentdrivers/staging/lustre: Nuke another unsigned >= 0 assert (diff)
staging: lustre: fix lock imbalance
nrs_resource_put_safe() might hold a lock one one struct while operating on the other. There are 2 levels of structures. Use nrs_policy_put(), which has locking baked in. sparse gives the following warning: drivers/staging/lustre//lustre/ptlrpc/nrs.c:498:39: warning: context imbalance in 'nrs_resource_put_safe' - different lock contexts for basic block Signed-off-by: Joshua Clayton <stillcompiling@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions