devmapper: ensure that UdevWait is called after calls to setCookie
devmapper: ensure that UdevWait is called after calls to setCookie

Recent changes to devmapper broke the implicit requirement that UdevWait be
called after every call to task.setCookie.  Failure to do so results in leaks of
semaphores in the LVM code, eventually leading to semaphore exhaustion.
Previously this was handled by calling UdevWait in a ubiquitous defer function.
While there was initially some concern with deferring the UdevWait function
would cause some amount of race possibiliy, the fact that we never return the
cookie value or any value used to find it, makes that possibility seem unlikely,
so lets go back to that method

Signed-off-by: Neil Horman <3316dc2d77df57653443c0391a5296176d6ca9c3@tuxdriver.com>

vdemeester/docker,tklauser/docker,dmcgowan/docker,PatrickLang/moby,coreos/docker,dmcgowan/docker,kojiromike/docker,noironetworks/docker,hqhq/moby,charleszheng44/moby,lixiaobing1/docker,ndeloof/docker,AkihiroSuda/docker,liaoqingwei/docker,vdemeester/docker,mikebrow/docker,SvenDowideit/docker,jameszhan/docker,PatrickLang/moby,tmp6154/docker,mixja/docker,yongtang/docker,hqhq/moby,tophj-ibm/moby,charleszheng44/moby,bearstech/moby,tmp6154/docker,tmp6154/docker,resin-io/docker,lixiaobing1/docker,ibuildthecloud/docker,maxamillion/docker,unclejack/docker,thaJeztah/docker,srust/docker,moby/moby,x1022as/docker,rhatdan/docker,madhanrm/docker,pradipd/moby,mixja/docker,ripcurld0/moby,JMesser81/docker,yummypeng/docker,yongtang/docker,duglin/docker,paralin/docker,jwhonce/docker,KarthikNayak/docker,x1022as/docker,rremer/moby,lixiaobing10051267/docker,mike1729/docker,madhanrm/docker,gnailuy/docker,maxamillion/docker,jvanz/docker,tklauser/docker,liaoqingwei/docker,YuPengZTE/docker,lixiaobing10051267/docker,whuwxl/docker,raja-sami-10p/moby,jlhawn/docker,cpuguy83/docker,kolyshkin/docker,pramodhkp/moby,konstruktoid/docker-upstream,moby/moby,lixiaobing1/docker,srust/docker,paralin/docker,bearstech/moby,cpuguy83/docker,estesp/docker,danyalKhaliq10p/moby,dsheets/moby,cpuguy83/docker,maxamillion/docker,pradipd/moby,ndeloof/docker,moul/docker,mkumatag/docker,raja-sami-10p/moby,rhatdan/docker,kolyshkin/moby,nawawi/docker,miminar/docker,coolljt0725/docker,jwhonce/docker,allencloud/docker,fcrisciani/docker,Ramzec/docker,raja-sami-10p/moby,laijs/moby,haveatry/docker,imkin/moby,justincormack/docker,tophj-ibm/docker,shishir-a412ed/docker,SvenDowideit/docker,Mokolea/docker,YuPengZTE/docker,nalind/docker,jthelin/docker,jlhawn/docker,duglin/docker,shhsu/docker,moul/docker,flavio/docker,shishir-a412ed/docker,rhatdan/docker,x1022as/docker,nalind/docker,estesp/docker,naveed-jamil-tenpearls/moby,unclejack/docker,ibuildthecloud/docker,mike1729/docker,kolyshkin/docker,sterchelen/docker,hqhq/moby,amatsus/docker,dperny/docker,jvanz/docker,konstruktoid/docker-1,nalind/docker,yosifkit/docker,bonczj/moby-json-file-logger,tonistiigi/docker,bearstech/moby,mikebrow/docker,rancher/docker,yosifkit/docker,konstruktoid/docker-upstream,johnstep/moby-moby,ibuildthecloud/docker,dccurtis/docker,coolljt0725/docker,flavio/docker,cyphar/docker,kolyshkin/moby,liaoqingwei/docker,nawawi/docker,dperny/docker,dperny/docker,Ramzec/docker,KingEmet/docker,thaJeztah/docker,unclejack/docker,shhsu/docker,POLJM242/docker,trebonian/docker,cpuguy83/docker,jthelin/docker,charleszheng44/moby,dims/docker,AkihiroSuda/docker,ndeloof/docker,SvenDowideit/docker,kolyshkin/moby,bonczj/moby-json-file-logger,mkumatag/docker,tophj-ibm/moby,laijs/docker,rremer/moby,kojiromike/docker,bearstech/moby,jlhawn/docker,POLJM242/docker,resin-io/docker,jameszhan/docker,moby/moby,scotttlin/docker,naveed-jamil-tenpearls/moby,mahak/docker,madhanrm/docker,lixiaobing10051267/docker,jimjag/docker,moul/docker,ripcurld0/moby,pramodhkp/moby,jvanz/docker,amatsus/docker,Ramzec/docker,mahak/docker,haveatry/docker,naveed-jamil-tenpearls/moby,amatsus/docker,haveatry/docker,allencloud/docker,mixja/docker,gnailuy/docker,shhsu/docker,imkin/moby,estesp/docker,tonistiigi/docker,docker/docker,justincormack/docker,rancher/docker,laijs/moby,mahak/docker,tophj-ibm/docker,paralin/docker,flavio/docker,ripcurld0/moby,laijs/moby,KingEmet/docker,jimjag/docker,laijs/docker,dccurtis/docker,ibuildthecloud/docker,johnstep/moby-moby,crosbymichael/docker,sterchelen/docker,thaJeztah/docker,docker/docker,fcrisciani/docker,resin-io/docker,KarthikNayak/docker,dsheets/moby,nawawi/docker,flavio/docker,justincormack/docker,coreos/docker,konstruktoid/docker-upstream,jimjag/docker,gnailuy/docker,shishir-a412ed/docker,jameszhan/docker,tophj-ibm/docker,imkin/moby,yosifkit/docker,dsheets/moby,dmcgowan/docker,cyphar/docker,yummypeng/docker,jimjag/docker,djs55/docker,duglin/docker,nalind/docker,yongtang/docker,vdemeester/docker,Mokolea/docker,KingEmet/docker,moul/docker,Mokolea/docker,Mokolea/docker,jwhonce/docker,trebonian/docker,miminar/docker,johnstep/moby-moby,Ramzec/docker,danyalKhaliq10p/moby,whuwxl/docker,mikebrow/docker,dims/docker,JMesser81/docker,laijs/docker,rancher/docker,mahak/docker,paralin/docker,bonczj/moby-json-file-logger,nawawi/docker,noironetworks/docker,YuPengZTE/docker,trebonian/docker,allencloud/docker,djs55/docker,mike1729/docker,coreos/docker,gnailuy/docker,whuwxl/docker,tonistiigi/docker,mkumatag/docker,JMesser81/docker,srust/docker,cyphar/docker,pradipd/moby,tklauser/docker,rremer/moby,KarthikNayak/docker,tophj-ibm/moby,kojiromike/docker,sterchelen/docker,pramodhkp/moby,noironetworks/docker,AkihiroSuda/docker,coolljt0725/docker,dims/docker,ibuildthecloud/docker,danyalKhaliq10p/moby,yosifkit/docker,djs55/docker,trebonian/docker,scotttlin/docker,dccurtis/docker,crosbymichael/docker,docker/docker,moby/moby,yummypeng/docker,PatrickLang/moby,AkihiroSuda/docker,fcrisciani/docker,thaJeztah/docker,crosbymichael/docker,konstruktoid/docker-1,konstruktoid/docker-upstream,miminar/docker,konstruktoid/docker-1,scotttlin/docker