diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2013-01-02 22:57:12 +0000 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-01-15 16:01:30 -0500 |
commit | 16a1d0225e22e4e273e6b60a21db95decde666c2 (patch) | |
tree | 4a640870d7121933f8a94d0fbe7e5fe7014e1bf2 /drivers/hwmon/emc1403.c | |
parent | 2512f298cb9886e06938e761c9e924c8448d9ab8 (diff) |
xen/gntdev: correctly unmap unlinked maps in mmu notifier
If gntdev_ioctl_unmap_grant_ref is called on a range before unmapping
it, the entry is removed from priv->maps and the later call to
mn_invl_range_start won't find it to do the unmapping. Fix this by
creating another list of freeable maps that the mmu notifier can search
and use to unmap grants.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/hwmon/emc1403.c')
0 files changed, 0 insertions, 0 deletions