devicemapper: fix suspend removed device
devicemapper: fix suspend removed device

when doing devices.cancelDeferredRemoval, the device could have been removed
and return ErrEnxio, but it continue to check if it is need to do suspend.
doSuspend := devinfo != nil && devinfo.Exists != 0 uses a devinfo which is
get before devices.cancelDeferredRemoval(baseInfo), it is outdate, the device
has been removed and there is no need to do suspend. If do suspend it will return
devicemapper: Error running deviceSuspend dm_task_run failed.

Signed-off-by: Lei Jitang <9ac444d2b5df3db1f31aa1c6462ac8e9e2bde241@huawei.com>

mike1729/docker,miminar/docker,flavio/docker,laijs/docker,rhatdan/docker,sdurrheimer/docker,justincormack/docker,mtesselH/docker,jwhonce/docker,duglin/docker,gnailuy/docker,mahak/docker,scotttlin/docker,yosifkit/docker,allencloud/docker,noironetworks/docker,crosbymichael/docker,diogomonica/docker,laijs/docker,flavio/docker,shishir-a412ed/docker,ColinHebert/docker,ndeloof/docker,kolyshkin/docker,jthelin/docker,gjaskiewicz/moby,gjaskiewicz/moby,imkin/moby,qudongfang/docker,rhatdan/docker,dperny/docker,hqhq/moby,POLJM242/docker,miminar/docker,naveed-jamil-tenpearls/moby,bonczj/moby-json-file-logger,liaoqingwei/docker,hqhq/moby,rremer/moby,gnailuy/docker,jimjag/docker,dims/docker,gnailuy/docker,pramodhkp/moby,tophj-ibm/docker,moul/docker,tophj-ibm/moby,Mokolea/docker,ripcurld0/moby,coolljt0725/docker,kojiromike/docker,ibuildthecloud/docker,dperny/docker,shhsu/docker,trebonian/docker,dccurtis/docker,kencochrane/docker,SvenDowideit/docker,mstanleyjones/docker,AkihiroSuda/docker,rremer/moby,ColinHebert/docker,YuPengZTE/docker,jimjag/docker,raja-sami-10p/moby,trebonian/docker,thtanaka/docker,mkumatag/docker,naveed-jamil-tenpearls/moby,maxamillion/docker,jvanz/docker,prertik/docker,mtesselH/docker,bonczj/moby-json-file-logger,x1022as/docker,allencloud/docker,tonistiigi/docker,rhatdan/docker,yongtang/docker,thaJeztah/docker,crosbymichael/docker,SvenDowideit/docker,nalind/docker,mkumatag/docker,fcrisciani/docker,kojiromike/docker,pradipd/moby,pramodhkp/moby,resin-io/docker,vdemeester/docker,moypray/docker,sdurrheimer/docker,Ramzec/docker,johnstep/moby-moby,Syntaxide/docker,moul/docker,vdemeester/docker,JMesser81/docker,yongtang/docker,cyphar/docker,konstruktoid/docker-upstream,trebonian/docker,dgageot/docker,unclejack/docker,djs55/docker,yummypeng/docker,sterchelen/docker,dmcgowan/docker,fcrisciani/docker,amatsus/docker,haveatry/docker,estesp/docker,KingEmet/docker,yasiramin10p/moby,yummypeng/docker,mikebrow/docker,PatrickLang/moby,paralin/docker,darrenstahlmsft/moby,catinthesky/docker,Ramzec/docker,Ramzec/docker,rancher/docker,ffoysal/docker,raja-sami-10p/moby,rancher/docker,lixiaobing1/docker,HideoYamauchi/docker,sarnautov/moby,ibuildthecloud/docker,lixiaobing10051267/docker,mahak/docker,mixja/docker,pramodhkp/moby,gschaetz/moby,docker/docker,Mokolea/docker,charleszheng44/moby,danyalKhaliq10p/moby,akira-baruah/docker,estesp/docker,YuPengZTE/docker,moypray/docker,yosifkit/docker,cyphar/docker,alfred-landrum/docker,srust/docker,michael-holzheu/docker,nalind/docker,laijs/docker,yosifkit/docker,lixiaobing10051267/docker,PatrickLang/moby,yosifkit/docker,KingEmet/docker,jameszhan/docker,dsheets/moby,AkihiroSuda/docker,mahak/docker,bearstech/moby,gjaskiewicz/moby,shishir-a412ed/docker,bonczj/moby-json-file-logger,crosbymichael/docker,cpuguy83/docker,haveatry/docker,qudongfang/docker,erikh/docker,POLJM242/docker,jlhawn/docker,laijs/moby,ibuildthecloud/docker,maxamillion/docker,AkihiroSuda/docker,Ramzec/docker,jimjag/docker,flavio/docker,KingEmet/docker,diogomonica/docker,jameszhan/docker,naveed-jamil-tenpearls/moby,coolljt0725/docker,whuwxl/docker,x1022as/docker,liaoqingwei/docker,dmcgowan/docker,darrenstahlmsft/docker,prertik/docker,SvenDowideit/docker,pradipd/moby,justincormack/docker,fcrisciani/docker,estesp/docker,erikh/docker,dmcgowan/docker,kencochrane/docker,dims/docker,nawawi/docker,laijs/moby,haveatry/docker,gnailuy/docker,scotttlin/docker,erikh/docker,docker/docker,pradipd/moby,resin-io/docker,madhanrm/docker,unclejack/docker,thtanaka/docker,moby/moby,mikebrow/docker,KarthikNayak/docker,djs55/docker,kolyshkin/moby,tophj-ibm/moby,moypray/docker,allencloud/docker,konstruktoid/docker-upstream,nawawi/docker,michael-holzheu/docker,JMesser81/docker,ripcurld0/moby,erikstmartin/docker,nawawi/docker,cyphar/docker,mstanleyjones/docker,alfred-landrum/docker,kolyshkin/moby,noironetworks/docker,nawawi/docker,coreos/docker,miminar/docker,lixiaobing10051267/docker,ndeloof/docker,tophj-ibm/moby,shishir-a412ed/docker,diogomonica/docker,tonistiigi/docker,jameszhan/docker,jwhonce/docker,kencochrane/docker,thaJeztah/docker,JMesser81/docker,mstanleyjones/docker,Syntaxide/docker,sarnautov/moby,alfred-landrum/docker,hqhq/moby,srust/docker,bearstech/moby,amatsus/docker,darrenstahlmsft/moby,djs55/docker,tophj-ibm/docker,rancher/docker,darrenstahlmsft/docker,trebonian/docker,dperny/docker,moul/docker,thtanaka/docker,gschaetz/moby,tmp6154/docker,Mokolea/docker,yongtang/docker,tklauser/docker,tklauser/docker,johnstep/moby-moby,KarthikNayak/docker,konstruktoid/docker-upstream,lixiaobing1/docker,tmp6154/docker,sterchelen/docker,moby/moby,justincormack/docker,nalind/docker,mikebrow/docker,HideoYamauchi/docker,kolyshkin/moby,dgageot/docker,nalind/docker,PatrickLang/moby,jlhawn/docker,cpuguy83/docker,sdurrheimer/docker,docker/docker,moby/moby,paralin/docker,bearstech/moby,whuwxl/docker,danyalKhaliq10p/moby,cpuguy83/docker,erikstmartin/docker,amatsus/docker,tmp6154/docker,mike1729/docker,darrenstahlmsft/moby,Mokolea/docker,YuPengZTE/docker,qudongfang/docker,bearstech/moby,moby/moby,konstruktoid/docker-1,tophj-ibm/docker,prertik/docker,ripcurld0/moby,kolyshkin/docker,ffoysal/docker,ffoysal/docker,AkihiroSuda/docker,charleszheng44/moby,dgageot/docker,madhanrm/docker,imkin/moby,srust/docker,raja-sami-10p/moby,flavio/docker,moul/docker,maxamillion/docker,jimjag/docker,mixja/docker,coreos/docker,jwhonce/docker,akira-baruah/docker,gschaetz/moby,dsheets/moby,thaJeztah/docker,yasiramin10p/moby,dccurtis/docker,scotttlin/docker,jvanz/docker,mike1729/docker,sterchelen/docker,ColinHebert/docker,tianon/docker,johnstep/moby-moby,KarthikNayak/docker,shhsu/docker,mahak/docker,lixiaobing1/docker,coreos/docker,yummypeng/docker,tklauser/docker,duglin/docker,Syntaxide/docker,konstruktoid/docker-upstream,dccurtis/docker,jlhawn/docker,x1022as/docker,catinthesky/docker,unclejack/docker,darrenstahlmsft/docker,danyalKhaliq10p/moby,rremer/moby,michael-holzheu/docker,mkumatag/docker,noironetworks/docker,dsheets/moby,mixja/docker,paralin/docker,konstruktoid/docker-1,duglin/docker,mtesselH/docker,paralin/docker,HideoYamauchi/docker,jvanz/docker,charleszheng44/moby,vdemeester/docker,shhsu/docker,yasiramin10p/moby,kojiromike/docker,ibuildthecloud/docker,tonistiigi/docker,tianon/docker,sarnautov/moby,madhanrm/docker,erikstmartin/docker,liaoqingwei/docker,laijs/moby,resin-io/docker,coolljt0725/docker,cpuguy83/docker,dims/docker,ibuildthecloud/docker,imkin/moby,thaJeztah/docker,catinthesky/docker,ndeloof/docker,jthelin/docker,whuwxl/docker,konstruktoid/docker-1