fs: dlm: set subclass for othercon sock_mutex
authorAlexander Aring <aahringo@redhat.com>
Mon, 1 Mar 2021 22:05:11 +0000 (17:05 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Mar 2021 14:56:42 +0000 (08:56 -0600)
commite9a470acd930574be812663708dfad6f6f94d80a
tree8d3f51ccb65ae06f0c0aff7a5338fae34e47fc77
parentb30a624f50d9b637ffe9ef3cf4c53abd5bc607d1
fs: dlm: set subclass for othercon sock_mutex

This patch sets the lockdep subclass for the othercon socket mutex. In
various places the connection socket mutex is held while locking the
othercon socket mutex. This patch will remove lockdep warnings when such
case occurs.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c