]> git.baikalelectronics.ru Git - kernel.git/commit
net: vhost: replace magic number of lock annotation
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Tue, 25 Sep 2018 12:36:50 +0000 (05:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2018 03:25:55 +0000 (20:25 -0700)
commita2246682aa9c764fb0eef4d51ea8d5eca0c9919e
tree6a6f2ba71ada9bf34eef5e1c6bd1533f5adae590
parent827c8ca547b26e5b31964d29c5ae79729750c8f8
net: vhost: replace magic number of lock annotation

Use the VHOST_NET_VQ_XXX as a subclass for mutex_lock_nested.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/net.c