diff options
author | 2017-07-26 11:22:19 -0400 | |
---|---|---|
committer | 2017-07-30 08:06:10 -0700 | |
commit | 7cb58f19edd5e90940d1c80e467cdc6289706729 (patch) | |
tree | 637a5b6e610b219c1b0eda6c1d59e15b26536162 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | staging: lustre: ldlm: restore missing newlines in ldlm sysfs files (diff) | |
download | wireguard-linux-7cb58f19edd5e90940d1c80e467cdc6289706729.tar.xz wireguard-linux-7cb58f19edd5e90940d1c80e467cdc6289706729.zip |
staging: lustre: ldlm: crash on umount in cleanup_resource
cfs_hash_for_each_relax() assumes that cfs_hash_put_locked()
doesn't release bd lock, but it isn't true for
ldlm_res_hop_put_locked().
Add recfcount on next hnode in cfs_hash_for_each_relax() and
remove ldlm_res_hop_put_locked()
Signed-off-by: Andriy Skulysh <andriy.skulysh@seagate.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6304
Xyratex-bug-id: MRP-2352
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>
Reviewed-by: Alexander Boyko <alexander.boyko@seagate.com>
Tested-by: Alexander Lezhoev <alexander.lezhoev@seagate.com>
Reviewed-on: http://review.whamcloud.com/13908
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions