mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-20 06:54:38 +00:00
scst: Make access control group removal behavior configurable
SCST rejects removal of an access control group with one or more sessions with error code -EBUSY. Make it easy to change this behavior into forcibly closing sessions when an access control group is removed. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5608 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2817,6 +2817,9 @@ struct scst_acg_dev {
|
||||
* control information.
|
||||
*/
|
||||
struct scst_acg {
|
||||
/* One more than the number of sessions in acg_sess_list */
|
||||
struct kref acg_kref;
|
||||
|
||||
/* Owner target */
|
||||
struct scst_tgt *tgt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user