KVM: MMU: remove rmap before clear spte
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Thu, 13 May 2010 02:07:00 +0000 (10:07 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:46 +0000 (10:35 +0300)
Remove rmap before clear spte otherwise it will trigger BUG_ON() in
some functions such as rmap_write_protect().

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found