Re: [PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock

2013-07-19 Thread Jörn Engel
han@oracle.com > Subject: [PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock > X-Mailer: git-send-email 1.7.11.7 > > Open exclusive check is protected by o_sem, no need sg_open_exclusive_lock. > @exclude is used to record which type of rwsem we are holding. > > Signed-off-by

Re: [PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock

2013-07-19 Thread Jörn Engel
@oracle.com Subject: [PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock X-Mailer: git-send-email 1.7.11.7 Open exclusive check is protected by o_sem, no need sg_open_exclusive_lock. @exclude is used to record which type of rwsem we are holding. Signed-off-by: Vaughan Cao vaughan

[PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock

2013-07-17 Thread Vaughan Cao
Open exclusive check is protected by o_sem, no need sg_open_exclusive_lock. @exclude is used to record which type of rwsem we are holding. Signed-off-by: Vaughan Cao --- drivers/scsi/sg.c | 34 +- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git

[PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock

2013-07-17 Thread Vaughan Cao
Open exclusive check is protected by o_sem, no need sg_open_exclusive_lock. @exclude is used to record which type of rwsem we are holding. Signed-off-by: Vaughan Cao vaughan@oracle.com --- drivers/scsi/sg.c | 34 +- 1 file changed, 5 insertions(+), 29