]> xenbits.xensource.com Git - libvirt.git/commit
nodedev: Convert virNodeDeviceObjList to use RWObjectLockable
authorJohn Ferlan <jferlan@redhat.com>
Mon, 9 Oct 2017 20:55:23 +0000 (16:55 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 13 Oct 2017 01:36:43 +0000 (21:36 -0400)
commit1b4ad370e9ed9d743d70b12a3a63bdb9fe1b1a03
treea96ba16089c1a84517383c6cc2afddc6bf81e4e6
parentc37efe19e8165a602237a4d067dea18df3f667df
nodedev: Convert virNodeDeviceObjList to use RWObjectLockable

Let's use the RWObjectLockable for the various list lock mgmt.
Only time need Write lock will be for Add/Remove logic.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/virnodedeviceobj.c