mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 19:23:01 +09:00
commitcf4a4493ffupstream. There is a check for vm->sbm.sb_states before, and it should check it here as well. Signed-off-by: Peng Hao <flyingpeng@tencent.com> Link: https://lore.kernel.org/r/20211222011225.40573-1-flyingpeng@tencent.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Fixes:5f1f79bbc9("virtio-mem: Paravirtualized memory hotplug") Cc: stable@vger.kernel.org # v5.8+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>