Re: [PATCH v3 2/3] Drivers: hv: rename sc_lock to the more generic lock

2015-01-20 Thread Jason Wang
On Tue, Jan 20, 2015 at 11:45 PM, Vitaly Kuznetsov wrote: sc_lock spinlock in struct vmbus_channel is being used to not only protect the sc_list field, e.g. vmbus_open() function uses it to implement test-and-set access to the state field. Rename it to the more generic 'lock' and add the d

RE: [PATCH v3 2/3] Drivers: hv: rename sc_lock to the more generic lock

2015-01-20 Thread KY Srinivasan
arpenter > Subject: [PATCH v3 2/3] Drivers: hv: rename sc_lock to the more generic lock > > sc_lock spinlock in struct vmbus_channel is being used to not only protect > the sc_list field, e.g. vmbus_open() function uses it to implement test-and- > set access to the state field. Rename it t

[PATCH v3 2/3] Drivers: hv: rename sc_lock to the more generic lock

2015-01-20 Thread Vitaly Kuznetsov
sc_lock spinlock in struct vmbus_channel is being used to not only protect the sc_list field, e.g. vmbus_open() function uses it to implement test-and-set access to the state field. Rename it to the more generic 'lock' and add the description. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/chann