diff options
author | James Cowgill <[email protected]> | 2017-10-30 18:16:56 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-10-30 11:16:56 -0700 |
commit | 35a44fcb8d6e346f51be82dfe57562c2ea0c6a9c (patch) | |
tree | 65c30f6eac8879af662ead0deeab697c04282e48 /module/spl/spl-tsd.c | |
parent | 8be368899918e2786f2fed84dc746de1894b06c1 (diff) |
Remove all spin_is_locked calls
On systems with CONFIG_SMP turned off, spin_is_locked always returns
false causing these assertions to fail. Remove them as suggested in
zfsonlinux/zfs#6558.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: James Cowgill <[email protected]>
Closes #665
Diffstat (limited to 'module/spl/spl-tsd.c')
-rw-r--r-- | module/spl/spl-tsd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/module/spl/spl-tsd.c b/module/spl/spl-tsd.c index bf8235063..4c800292a 100644 --- a/module/spl/spl-tsd.c +++ b/module/spl/spl-tsd.c @@ -315,7 +315,6 @@ tsd_hash_add_pid(tsd_hash_table_t *table, pid_t pid) static void tsd_hash_del(tsd_hash_table_t *table, tsd_hash_entry_t *entry) { - ASSERT(spin_is_locked(&table->ht_lock)); hlist_del(&entry->he_list); list_del_init(&entry->he_key_list); list_del_init(&entry->he_pid_list); |