From: Vitaly Kuznetsov Date: Tue, 20 Jan 2015 15:45:05 +0000 (+0100) Subject: Drivers: hv: rename sc_lock to the more generic lock X-Git-Tag: fixes-v4.0-rc1~101^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67fae053bfc6e84144150e4c6c62670abb215c33;p=pandora-kernel.git 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 to the more generic 'lock' and add the description. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan Acked-by: Jason Wang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed