vfio: Convert container->group_lock to rwsem
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 25 Apr 2013 22:12:38 +0000 (16:12 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 25 Apr 2013 22:12:38 +0000 (16:12 -0600)
commit9587f44aa69a4cfb13701b31a633852684bed701
treeec0fa35e8156ab868ff5ca3581ec54ed1ad63f5d
parentaa2cba51a0a85dfbd5be58239e59bc5e8b5fb7cf
vfio: Convert container->group_lock to rwsem

All current users are writers, maintaining current mutual exclusion.
This lets us add read users next.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c