vhost: check owner before we overwrite ubuf_info
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 6 Jun 2013 12:20:39 +0000 (15:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jun 2013 09:46:21 +0000 (02:46 -0700)
If device has an owner, we shouldn't touch ubuf_info
since it might be in use.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found