Windows: Support ApplyDiff on a base layer
Windows: Support ApplyDiff on a base layer

This adds support to the Windows graph driver for ApplyDiff on a base
layer. It also adds support for hard links, which are needed because the
Windows base layers double in size without hard link support.

Signed-off-by: John Starks <4f08c47f7080d055a9777fa88698f74c617e54d1@microsoft.com>

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