commit | 28b130244061863cf0437b7af1625fb45ec1a71e | [log] [tgz] |
---|---|---|
author | Yan Zhao <yan.y.zhao@intel.com> | Wed Sep 16 10:29:27 2020 +0800 |
committer | Alex Williamson <alex.williamson@redhat.com> | Tue Sep 22 10:56:40 2020 -0600 |
tree | 10182f8e9dde0cbf6cde13480db6bbf85d766fa2 | |
parent | 7ef32e52368f62a4e041a4f0abefb4fb64e7fd4a [diff] |
vfio: fix a missed vfio group put in vfio_pin_pages When error occurs, need to put vfio group after a successful get. Fixes: 95fc87b44104 ("vfio: Selective dirty page tracking if IOMMU backed device pins pages") Signed-off-by: Yan Zhao <yan.y.zhao@intel.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>