vfio: Common function to increment container_users
commit32f55d835b23830bf9295d038a1693ce9fd41b56
authorKirti Wankhede <kwankhede@nvidia.com>
Wed, 16 Nov 2016 20:46:16 +0000 (17 02:16 +0530)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 17 Nov 2016 15:24:55 +0000 (17 08:24 -0700)
tree5d231067f5a85c60613671ccb864628c1d71f1d4
parent7ed3ea8a71187a4569eb65f647ea4af0cdb9a856
vfio: Common function to increment container_users

This change rearrange functions to have common function to increment
container_users

Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Neo Jia <cjia@nvidia.com>
Reviewed-by: Jike Song <jike.song@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c