Protect aufs mounts with locks
Protect aufs mounts with locks

Parallel aufs mount calls produce invalid argument error.

Fixes #21545


Signed-off-by: Tonis Tiigi <c2470c48b2d3312d61f94f18d3a1cd113d1915ad@gmail.com>
x1022as/docker,LuisBosquez/docker.github.io,mathewkoshy493/docker,imkin/moby,kolyshkin/docker,Ramzec/docker,tophj-ibm/docker,HideoYamauchi/docker,sean-jc/docker,jecarey/docker,danix800/docker.github.io,asbjornenge/docker,nawawi/docker,sterchelen/docker,OnePaaS/docker,mike1729/docker,justincormack/docker,denverdino/denverdino.github.io,abhinavdahiya/docker,JMesser81/docker,johnstep/moby-moby,sanjeo/docker,ffoysal/docker,crosbymichael/docker,projectatomic/docker,denverdino/docker.github.io,yongtang/docker,mtanlee/docker,liaoqingwei/docker,mtesselH/docker,hqhq/moby,stevvooe/docker,bonczj/moby-json-file-logger,rhardih/docker,14rcole/docker,paralin/docker,erikstmartin/docker,joeuo/docker.github.io,tonistiigi/docker,dgageot/docker,miminar/docker,abhinavdahiya/docker,mtanlee/docker,crosbymichael/docker,londoncalling/docker.github.io,geekylucas/docker,rancher/docker,konstruktoid/docker-upstream,containers/storage,endophage/docker,Mokolea/docker,bluebreezecf/docker,rkazak/docker,shhsu/docker,xuxinkun/docker,ibuildthecloud/docker,unclejack/docker,harche/docker,qudongfang/docker,tkopczynski/docker,14rcole/docker,tophj-ibm/moby,troy0820/docker.github.io,tonistiigi/docker,menglingwei/denverdino.github.io,charleswhchan/docker,afein/docker,Altiscale/docker,coolljt0725/docker,gdevillele/docker.github.io,danix800/docker.github.io,dims/docker,KarthikNayak/docker,jecarey/docker,charleswhchan/docker,jhorwit2/docker,pyotr777/docker,PatrickLang/moby,shishir-a412ed/docker,medallia/docker,docker/docker.github.io,ColinHebert/docker,stainboy/docker,thtanaka/docker,Altiscale/docker,DoraALin/docker,jongiddy/docker,miminar/docker,containers/storage,jlhawn/docker,sdurrheimer/docker,phiroict/docker,geekylucas/docker,cloudflare/docker,hqhq/moby,LuisBosquez/docker.github.io,sheimi/docker,flavio/docker,xiaods/docker,pecameron/docker,BenHall/docker,eskaaren/docker,laijs/moby,coreos/docker,laijs/moby,anujbahuguna/docker,ripcurld0/moby,shin-/docker.github.io,haveatry/docker,dsau/docker,kojiromike/docker,13W/docker,rremer/moby,jongiddy/docker,medallia/docker,tonistiigi/docker,mkumatag/docker,kerneltime/docker,cr7pt0gr4ph7/docker,ColinHebert/docker,prertik/docker,mohmost12/docker,splunk/docker,rhatdan/docker,thaJeztah/docker,lixiaobing10051267/docker,dnephin/docker,moul/docker,yasiramin10p/moby,dongjoon-hyun/docker,anweiss/docker.github.io,moby/moby,ripcurld0/moby,sanjeo/docker,xuxinkun/docker,flavio/docker,unclejack/docker,alexisbellido/docker.github.io,Ramzec/docker,kolyshkin/moby,gnailuy/docker,tagomoris/docker,splunk/docker,errordeveloper/docker,tophj-ibm/docker,bearstech/moby,jameszhan/docker,ibuildthecloud/docker,rillig/docker.github.io,xuxinkun/docker,rancher/docker,moul/docker,phiroict/docker,toli/docker,menglingwei/denverdino.github.io,YuPengZTE/docker,pramodhkp/moby,ndeloof/docker,whuwxl/docker,alfred-landrum/docker,nalind/docker,michael-holzheu/docker,catinthesky/docker,resin-io/docker,dmcgowan/docker,tagomoris/docker,noxiouz/docker,allencloud/docker,charleszheng44/moby,johnstep/docker.github.io,sdurrheimer/docker,johnstep/moby-moby,errordeveloper/docker,danix800/docker.github.io,SvenDowideit/docker,nawawi/docker,dperny/docker,michelvocks/docker,willmtemple/docker,msabansal/docker,rillig/docker.github.io,mgoelzer/docker,mahak/docker,wenchma/docker,nghiant2710/docker,jzwlqx/denverdino.github.io,Shopify/docker,joaofnfernandes/docker.github.io,dims/docker,michelvocks/docker,cpuguy83/docker,dongjoon-hyun/docker,yummypeng/docker,ibuildthecloud/docker,xiaods/docker,LuisBosquez/docker.github.io,projectatomic/docker,anweiss/docker.github.io,madhanrm/docker,TrumanLing/docker,shishir-a412ed/docker,trebonian/docker,fcrisciani/docker,aduermael/docker.github.io,docker/docker.github.io,phiroict/docker,aduermael/docker.github.io,amatsus/docker,docker-zh/docker.github.io,gdevillele/docker.github.io,runcom/docker,Microsoft/docker,jwhonce/docker,portworx/docker,moypray/docker,lixiaobing10051267/docker,ndeloof/docker,allencloud/docker,thaJeztah/docker,londoncalling/docker.github.io,pecameron/docker,londoncalling/docker.github.io,HideoYamauchi/docker,docker/docker,cr7pt0gr4ph7/docker,kolyshkin/moby,denverdino/denverdino.github.io,tianon/docker,YujiOshima/docker,cpuguy83/docker,dsau/docker,afein/docker,isubuz/docker,BSWANG/denverdino.github.io,gigidwan/docker,whuwxl/docker,mtrmac/docker,erikh/docker,Morsicus/docker,thaJeztah/docker.github.io,achanda/docker,brahmaroutu/docker,sanscontext/docker.github.io,endophage/docker,zhuguihua/docker,shin-/docker.github.io,thaJeztah/docker.github.io,tklauser/docker,Mashimiao/docker,asbjornenge/docker,cloudflare/docker,estesp/docker,BSWANG/denverdino.github.io,menglingwei/denverdino.github.io,moby/moby,denverdino/denverdino.github.io,bdwill/docker.github.io,jimjag/docker,alfred-landrum/docker,bearstech/moby,yosifkit/docker,yummypeng/docker,jameszhan/docker,konstruktoid/docker-1,jvanz/docker,jlebon/docker,thaJeztah/docker.github.io,cpuguy83/docker,inatatsu/docker,jzwlqx/denverdino.github.io,alexisbellido/docker.github.io,xiekeyang/docker,Syntaxide/docker,sarnautov/moby,gnailuy/docker,zhuguihua/docker,Tenk42/docker,shhsu/docker,OnePaaS/docker,pecameron/docker,bearstech/moby,bfirsh/docker,sfsmithcha/docker,pramodhkp/moby,whuwxl/docker,splunk/docker,nawawi/docker,lixiaobing1/docker,wenchma/docker,konstruktoid/docker-1,sean-jc/docker,dongjoon-hyun/docker,paralin/docker,laijs/docker,scotttlin/docker,raja-sami-10p/moby,POLJM242/docker,tkopczynski/docker,nghiant2710/docker,mikebrow/docker,eskaaren/docker,pradipd/moby,joaofnfernandes/docker.github.io,OnePaaS/docker,rkazak/docker,docker/docker,mikedougherty/docker,jvanz/docker,justincormack/docker,Ramzec/docker,xiaods/docker,johnstep/docker.github.io,KarthikNayak/docker,sanjeo/docker,mstanleyjones/docker,moypray/docker,johnstep/docker.github.io,hypriot/docker,LaynePeng/docker,naveed-jamil-tenpearls/moby,qudongfang/docker,ibuildthecloud/docker,KingEmet/docker,brahmaroutu/docker,cpuguy83/docker,sheimi/docker,naveed-jamil-tenpearls/moby,jlhawn/docker,sarnautov/moby,stainboy/docker,menglingwei/denverdino.github.io,madhanrm/docker,londoncalling/docker.github.io,toli/docker,scotttlin/docker,jthelin/docker,troy0820/docker.github.io,denverdino/denverdino.github.io,thtanaka/docker,AkihiroSuda/docker,mathewkoshy493/docker,amatsus/docker,JimGalasyn/docker.github.io,q384566678/docker,BSWANG/denverdino.github.io,miminar/docker,mahak/docker,darrenstahlmsft/docker,AkihiroSuda/docker,pradipd/moby,catinthesky/docker,q384566678/docker,gnailuy/docker,bonczj/moby-json-file-logger,ibuildthecloud/docker,bfirsh/docker,pyotr777/docker,Tenk42/docker,joaofnfernandes/docker.github.io,TheBigBear/docker,joeuo/docker.github.io,mike1729/docker,anweiss/docker.github.io,djs55/docker,Mokolea/docker,moxiegirl/docker,inatatsu/docker,cyli/docker,dgageot/docker,thtanaka/docker,justyntemme/docker,yasiramin10p/moby,x1022as/docker,djs55/docker,harche/docker,13W/docker,umerazad/docker,justyntemme/docker,lixiaobing1/docker,mixja/docker,scotttlin/docker,dgageot/docker,noironetworks/docker,gjaskiewicz/moby,runcom/docker,Mashimiao/docker,docker-zh/docker.github.io,naveed-jamil-tenpearls/moby,mstanleyjones/docker,nguyentm83/docker,yosifkit/docker,eskaaren/docker,mathewkoshy493/docker,rhatdan/docker,joeuo/docker.github.io,kencochrane/docker,darrenstahlmsft/docker,msabansal/docker,mgoelzer/docker,wenchma/docker,dims/docker,troy0820/docker.github.io,13W/docker,rkazak/docker,tklauser/docker,imkin/moby,YujiOshima/docker,sanscontext/docker.github.io,joeuo/docker.github.io,achanda/docker,akira-baruah/docker,bdwill/docker.github.io,13W/docker,nalind/docker,xiekeyang/docker,ffoysal/docker,diogomonica/docker,vdemeester/docker,stainboy/docker,kolyshkin/moby,POLJM242/docker,sheimi/docker,bdwill/docker.github.io,inatatsu/docker,sunyuan3/docker,Mokolea/docker,konstruktoid/docker-upstream,jzwlqx/denverdino.github.io,gdevillele/docker.github.io,charleszheng44/moby,johnstep/moby-moby,coolljt0725/docker,ffoysal/docker,mahak/docker,LaynePeng/docker,lixiaobing1/docker,kunalkushwaha/docker,yummypeng/docker,mikedougherty/docker,cyphar/docker,erikstmartin/docker,stevvooe/docker,medallia/docker,SvenDowideit/docker,tmp6154/docker,cyli/docker,Tenk42/docker,sarnautov/moby,bdwill/docker.github.io,gigidwan/docker,michelvocks/docker,kojiromike/docker,gigidwan/docker,Shopify/docker,jimjag/docker,justyntemme/docker,dnephin/docker,shubheksha/docker.github.io,medallia/docker,portworx/docker,LuisBosquez/docker.github.io,mtanlee/docker,runcom/docker,shhsu/docker,shubheksha/docker.github.io,afein/docker,mkumatag/docker,rillig/docker.github.io,dperny/docker,dccurtis/docker,unclejack/docker,allencloud/docker,toli/docker,aduermael/docker.github.io,maxamillion/docker,aduermael/docker.github.io,mtrmac/docker,YuPengZTE/docker,Morsicus/docker,shubheksha/docker.github.io,sdurrheimer/docker,dnephin/docker,raja-sami-10p/moby,KarthikNayak/docker,Ramzec/docker,erikstmartin/docker,PatrickLang/moby,JimGalasyn/docker.github.io,johnstep/docker.github.io,phiroict/docker,yasiramin10p/moby,mixja/docker,srust/docker,srust/docker,BenHall/docker,yp-engineering/docker,noxiouz/docker,ajaymdesai/docker,rhatdan/storage,shubheksha/docker.github.io,nalind/docker,catinthesky/docker,gjaskiewicz/moby,zhuguihua/docker,moul/docker,mahak/docker,JMesser81/docker,bdwill/docker.github.io,msabansal/docker,nalind/docker,sanscontext/docker.github.io,alexisbellido/docker.github.io,joaofnfernandes/docker.github.io,liaoqingwei/docker,noironetworks/docker,erikh/docker,dccurtis/docker,gnailuy/docker,jzwlqx/denverdino.github.io,tianon/docker,shishir-a412ed/docker,alexisbellido/docker.github.io,denverdino/docker.github.io,dccurtis/docker,tagomoris/docker,konstruktoid/docker-upstream,hypriot/docker,jthelin/docker,resin-io/docker,resin-io/docker,cyli/docker,tophj-ibm/docker,hypriot/docker,tkopczynski/docker,troy0820/docker.github.io,estesp/docker,paralin/docker,sanscontext/docker.github.io,kencochrane/docker,alexisbellido/docker.github.io,jvanz/docker,umerazad/docker,AkihiroSuda/docker,qudongfang/docker,willmtemple/docker,tmp6154/docker,twaugh/docker,JMesser81/docker,noxiouz/docker,jhorwit2/docker,mohmost12/docker,gdevillele/docker.github.io,denverdino/docker.github.io,laijs/docker,HideoYamauchi/docker,dsau/docker,jameszhan/docker,Altiscale/docker,JimGalasyn/docker.github.io,mkumatag/docker,coreos/docker,vdemeester/docker,nghiant2710/docker,thaJeztah/docker.github.io,yosifkit/docker,umerazad/docker,KingEmet/docker,kunalkushwaha/docker,duglin/docker,yongtang/docker,amatsus/docker,joeuo/docker.github.io,laijs/docker,rhardih/docker,darrenstahlmsft/moby,yosifkit/docker,trebonian/docker,johnstep/docker.github.io,bfirsh/docker,darrenstahlmsft/moby,coolljt0725/docker,Syntaxide/docker,jlebon/docker,rillig/docker.github.io,akira-baruah/docker,paralin/docker,TheBigBear/docker,JimGalasyn/docker.github.io,icaoweiwei/docker,KingEmet/docker,bluebreezecf/docker,Mashimiao/docker,mikedougherty/docker,kojiromike/docker,kencochrane/docker,moul/docker,mgoelzer/docker,imkin/moby,Microsoft/docker,mtrmac/docker,fcrisciani/docker,djs55/docker,gschaetz/moby,gschaetz/moby,asbjornenge/docker,noironetworks/docker,shin-/docker.github.io,shubheksha/docker.github.io,LaynePeng/docker,anweiss/docker.github.io,jimjag/docker,willmtemple/docker,sanscontext/docker.github.io,anujbahuguna/docker,JimGalasyn/docker.github.io,ajaymdesai/docker,Mokolea/docker,coreos/docker,pyotr777/docker,charleszheng44/moby,jimjag/docker,lixiaobing10051267/docker,danix800/docker.github.io,danyalKhaliq10p/moby,konstruktoid/docker-1,yp-engineering/docker,kolyshkin/docker,dsheets/moby,flavio/docker,Morsicus/docker,jhorwit2/docker,PatrickLang/moby,laijs/moby,BenHall/docker,flavio/docker,errordeveloper/docker,gjaskiewicz/moby,geekylucas/docker,TrumanLing/docker,bearstech/moby,HuKeping/docker,icaoweiwei/docker,cr7pt0gr4ph7/docker,BSWANG/denverdino.github.io,HuKeping/docker,danyalKhaliq10p/moby,dmcgowan/docker,erikh/docker,joaofnfernandes/docker.github.io,Syntaxide/docker,Microsoft/docker,dmcgowan/docker,rhatdan/storage,cloudflare/docker,containers/storage,trebonian/docker,thaJeztah/docker,dsheets/moby,tophj-ibm/moby,docker/docker.github.io,ripcurld0/moby,darrenstahlmsft/moby,abhinavdahiya/docker,moxiegirl/docker,prertik/docker,liaoqingwei/docker,moby/moby,mstanleyjones/docker,prertik/docker,sfsmithcha/docker,vdemeester/docker,kerneltime/docker,docker/docker.github.io,isubuz/docker,nawawi/docker,tmp6154/docker,fcrisciani/docker,AkihiroSuda/docker,TrumanLing/docker,londoncalling/docker.github.io,diogomonica/docker,srust/docker,rhatdan/storage,ColinHebert/docker,rremer/moby,jzwlqx/denverdino.github.io,danyalKhaliq10p/moby,bluebreezecf/docker,menglingwei/denverdino.github.io,mikebrow/docker,BSWANG/denverdino.github.io,jlhawn/docker,pramodhkp/moby,madhanrm/docker,projectatomic/docker,portworx/docker,mikebrow/docker,alfred-landrum/docker,pradipd/moby,sterchelen/docker,mixja/docker,phiroict/docker,achanda/docker,sfsmithcha/docker,gschaetz/moby,harche/docker,denverdino/docker.github.io,LuisBosquez/docker.github.io,mtesselH/docker,rremer/moby,duglin/docker,anweiss/docker.github.io,denverdino/docker.github.io,moxiegirl/docker,moby/moby,tophj-ibm/moby,diogomonica/docker,jwhonce/docker,konstruktoid/docker-upstream,x1022as/docker,yongtang/docker,haveatry/docker,michael-holzheu/docker,mike1729/docker,SvenDowideit/docker,jwhonce/docker,HuKeping/docker,rancher/docker,maxamillion/docker,nguyentm83/docker,bonczj/moby-json-file-logger,dperny/docker,trebonian/docker,charleswhchan/docker,jongiddy/docker,ndeloof/docker,shin-/docker.github.io,sean-jc/docker,docker-zh/docker.github.io,jlebon/docker,shin-/docker.github.io,hqhq/moby,q384566678/docker,kunalkushwaha/docker,raja-sami-10p/moby,yp-engineering/docker,DoraALin/docker,kerneltime/docker,endophage/docker,icaoweiwei/docker,cyphar/docker,twaugh/docker,docker/docker.github.io,gdevillele/docker.github.io,darrenstahlmsft/docker,DoraALin/docker,cyphar/docker,ajaymdesai/docker,sterchelen/docker,mtesselH/docker,docker/docker,rhatdan/docker,denverdino/denverdino.github.io,Shopify/docker,TheBigBear/docker,maxamillion/docker,docker-zh/docker.github.io,thaJeztah/docker.github.io,brahmaroutu/docker,moypray/docker,anujbahuguna/docker,crosbymichael/docker,YujiOshima/docker,isubuz/docker,sunyuan3/docker,xiekeyang/docker,docker-zh/docker.github.io,13W/docker,michael-holzheu/docker,justincormack/docker,stevvooe/docker,tklauser/docker,haveatry/docker,thaJeztah/docker,dsheets/moby,duglin/docker,sunyuan3/docker,estesp/docker,twaugh/docker,mohmost12/docker,YuPengZTE/docker