scst: Restore compatibility with RHEL 6.x

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9160 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-09-15 03:43:05 +00:00
parent 4023bdadbd
commit 85fed6fa4a

View File

@@ -578,7 +578,7 @@ void scst_unregister_target(struct scst_tgt *tgt)
PRINT_INFO("Still waiting for session %s/%s; state %ld; refcnt %#lx",
tgt->tgt_name, sess->sess_name,
sess->shut_phase,
atomic_long_read(&sess->refcnt.count));
percpu_ref_read(&sess->refcnt));
}
mutex_unlock(&scst_mutex);
}