do not run past the end of the disk! [ cherry-picked de6075ff0978108daea1d658425bcb37663a98a0 ]
do not run past the end of the disk!
[ cherry-picked de6075ff0978108daea1d658425bcb37663a98a0 ]

Conflicts:

	fs.c

baboofei/v6rt,svdamani/xv6,gw/xv6,MrHohn/CS-OperatingSystem-hw2,humphreyja/Xv6,f13mash/xv6,TheDude05/xv6,tamlok/xv6,RicardoParizotto/xv6---stride-scheduling,ZheyuJin/xv6_reading,garzon/xv6-public,prashantkhurana/OS,jeffallen/xv6,pablogventura/xv6-public,junxu/xv6,gw/xv6,guilleiguaran/xv6,cpehle/xv6,arcbbb/xv6,maxymania/open-xv6,orenherman/xv6-clone,voytovichs/xv6-public,liadgi/os163,CKost/Authorization,gzpan123/xv6,chrisdew/xv6,imagine4077/xv6-public,eewayhsu/xv6,ihciah/xv6,jmatth/xv6,shtyd/xv6-lua,bngabonziza/xv6-public,aquamme/xv6,howerj/xv6,humphreyja/Xv6,lishuwnc/Xv6,Royvaknin29/OS_Ass1,svdamani/xv6,yubai/ksm_xv6,DuskDragon/xv6,dswann5/os_assignment_3,davidbalbert/xv6,johnson-li/xv6-homework,KushOza/hw2,orenherman/xv6-clone,garzon/xv6,galbenor/os162-4,SanchayanMaity/xv6-cs450,nomadium/xv6,bngabonziza/xv6-public,wasabiz/xv6,shyandsy/xv6,shyandsy/xv6,kazunobu-fujii/xv6,supdizh/clean_xv6,lolosssss/Xv6,emaadmanzoor/xv6,gnudeep/xv6,emaadmanzoor/xv6,robertpd/xv6,pelhamnicholas/xv6,lolosssss/Xv6,expertsnipo/xv6,vicionator/XV6,run/xv6,siddharthv/xv6,lenw/xv6-public,HugoTian/xv6,msyksphinz/xv6-mips,juroland/xv6,lenw/xv6-public,s-rah/xv6-permissions,CHRISTOPHERDIEHL/xv6,penguiner/xv6,juroland/xv6,gco/xv6,juroland/xv6,tlerea1/xv6,bngabonziza/xv6,shyandsy/xv6,reutz19/xv6_ass4,baboofei/v6rt,f13mash/xv6,tamlok/xv6,sdharan/xv6-rcu,codelabs-ch/xv6-muen,sometimesfood/xv6,MrHohn/cs518hw3,Y-liulian/xv6-public,varunk08/xv6,supr/Xv6,arianvp/xv6,sdharan/xv6-rcu,shadowfax-ring/mit-xv6,tehgeekmeister/xv6,galbenor/os162-4,yubai/ksm_xv6,CHRISTOPHERDIEHL/xv6,TheDude05/xv6,lorenzo-stoakes/haxv6,MrHohn/CS-OperatingSystem-hw2,dswann5/os_assignment_3,nullpo-head/xv6-mips,bohaoist/xv6,nwolovick/xv6-public,roygoldman/xv6-sem,arianvp/xv6,i/xv6,s-rah/xv6-permissions,vicionator/XV6,DuskDragon/xv6,niral28/hw1,meilank/CS416-hw2,lishuwnc/Xv6,nullpo-head/xv6-mips,Cheukyin/xv6,SajadAzami/xv6-pm,aquamme/xv6,run/xv6,jsommers/xv6-public,lorenzo-stoakes/haxv6,GautamV/xv6,run/xv6,lorenzo-stoakes/haxv6,sometimesfood/xv6-public,garzon/xv6-public,MrHohn/CS-OperatingSystem-hw2,msyksphinz/xv6-mips,nullpo-head/xv6-mips,GautamV/xv6,jmatth/xv6,ShakhMoves/Shakh6,wasabiz/xv6,tlerea1/xv6,jgome043/tearos,gmy987/xv6,nomadium/xv6,humphreyja/Xv6,CKost/Authorization,fintler/xv6,UIKit0/xv6-1,descent/xv6,lorenzo-stoakes/haxv6,KushOza/hw2,nomadium/xv6,avana002/xv6,sometimesfood/xv6-public,SarthakCodes/xv6,preshshah/xv6,liyinhgqw/xv6,PINK-FL0YD/xv6-public,expertsnipo/xv6,GautamV/xv6,jmatth/xv6,sigma-random/xv6,AndreiRO/xv6,vicionator/XV6,ManaPoustizadeh/OS-finalProject,ThomasDq/xv6OS,sigma-random/xv6,seckcoder/mirror-xv6,UIKit0/Xv6,liadgi/os163,ahorn/xv6,shining-yang/xv6,raman162/CS450,aquamme/xv6,PINK-FL0YD/xv6-public,Cheukyin/xv6,nrahimi/xv6,bngabonziza/xv6,Cheukyin/xv6,WeiranFang/cs518hw3,Laaia/RT-xv6,AndreiRO/xv6,xujunhai1991/xv6,forwchen/xv6,pelhamnicholas/xv6,phf/xv6-public,kingsizeme/xv6,MrHohn/CS-OperatingSystem-hw3,voytovichs/xv6-public,gnosis23/xv6,meilank/CS416-hw1,garzon/xv6-public,ThomasDq/xv6OS,ckkashyap/xv6,logangorence/xv6-public,bowlofstew/xv6-public,firstblade/xv6,sometimesfood/xv6-public,HugoTian/xv6,shadowfax-ring/mit-xv6,rlok3000/xv6,gzpan123/xv6,myl2821/xv6-fork,lishuwnc/Xv6,kazunobu-fujii/xv6,chrisdew/xv6,ckkashyap/xv6,nwolovick/xv6-public,bngabonziza/xv6-public,danrods/xv6Hacks,johnson-li/xv6-homework,oskarth/xv6,khalily/xv6,avana002/xv6,tehgeekmeister/xv6,lord021/Assignment2,roygoldman/xv6-fsprot,AZQ1994/xv6,CKost/Authorization,ManaPoustizadeh/OS-finalProject,MrHohn/cs518hw2,lord021/Assignment2,alex0906093/xv6,varunk08/xv6,roygoldman/xv6-fsprot,shining-yang/xv6,chnpmy/xv6,Y-liulian/xv6-public,gco/xv6,eewayhsu/xv6,guilleiguaran/xv6,kongming92/6828-xv6,BMJHayward/xv6-public,kazunobu-fujii/xv6,film42/xv6,panks/Xv6,meilank/CS416-hw1,MrHohn/cs518hw3,pablogventura/xv6-public,Mifnight/xv6-public,Y-liulian/xv6-public,arturosevilla/xv6-turi,MrHohn/CS-OperatingSystem-hw3,ZheyuJin/xv6_reading,dswann5/os_assignment_3,seckcoder/mirror-xv6,bohaoist/xv6,SarthakCodes/xv6,oskarth/xv6,xv6-jp/xv6,rajma996/xv6,MrHohn/CS-OperatingSystem-hw2,arcbbb/xv6,pekopeko1/xv6-code,rafamanzo/ep4-so,KushOza/hw2,descent/xv6,lenw/xv6-public,bngabonziza/xv6-1,orenherman/xv6-clone,eewayhsu/xv6,chnpmy/xv6,CKost/Authorization,liyinhgqw/xv6,ManaPoustizadeh/OS-finalProject,rafamanzo/ep2-so-xv6,siddharthv/xv6,AZQ1994/xv6,sdimitro/xv6,liorderei/OS_Class,Mifnight/xv6-public,wkatsak/xv6,codelabs-ch/xv6-muen,tamlok/xv6,kongming92/6828-xv6,gnudeep/xv6,prashantkhurana/OS,SajadAzami/xv6-pm,xv6-jp/xv6,romanzhg/xv6,jgome043/tearos,yubai/ksm_xv6,ThomasDq/xv6OS,UIKit0/xv6-1,pekopeko1/xv6-code,robertpd/xv6,UIKit0/xv6-1,laisborin/RT-xv6,cpehle/xv6,jeffallen/xv6,xujunhai1991/xv6,arianvp/xv6,arturosevilla/xv6-turi,romanzhg/xv6,chyka-dev/xv6-public,arcbbb/xv6,msyksphinz/xv6-mips,chnpmy/xv6,OrangeTide/xv6-public,gmy987/xv6,leenjewel/xv6_learn,techno/xv6-mist32,voytovichs/xv6-public,konyavic/xv6,logangorence/xv6-public,MrHohn/cs518hw2,leenjewel/xv6_learn,wenhuizhang/xv6-public,lord021/Assignment2,garzon/xv6-public,MatanGilead/myxv6,rafamanzo/ep2-so-xv6,rajma996/xv6,arcbbb/xv6,yum185/assign1_partA,ShakhMoves/Shakh6,walafc0/xv6,run/xv6,ihciah/XV6-OS,avana002/xv6,supr/Xv6,tlerea1/xv6,gnudeep/xv6,justodiaz/xv6,tlerea1/xv6,descent/xv6,voytovichs/xv6-public,pekopeko1/xv6-code,justodiaz/xv6,davidbalbert/xv6,AndreiRO/xv6,jgome043/tearos,bngabonziza/xv6,tinti/xv6-ubuntu,kazunobu-fujii/xv6,tenstep/xv6,nwf/xv6-public,sdimitro/xv6,ahorn/xv6,MrHohn/CS-OperatingSystem-hw3,tehgeekmeister/xv6,sometimesfood/xv6,gburd/xv6,nwolovick/xv6-public,niral28/hw1,supdizh/clean_xv6,nullpo-head/xv6-mips,louisje/xv6,chyka-dev/xv6-public,raman162/CS450,descent/xv6,msyksphinz/xv6-mips,t3rm1n4l/xv6,oskarth/xv6,arajago6/Axv6_One,5kg/xv6,lolosssss/Xv6,konyavic/xv6,supdizh/clean_xv6,RicardoParizotto/xv6---stride-scheduling,penguiner/xv6,ihciah/xv6,v1ta/xv6,meilank/CS416-hw1,HawxChen/Offical-Version-xv6,niral28/hw1,yum185/assign1_partA,orenherman/xv6-clone,bowlofstew/xv6-public,robertpd/xv6,sigma-random/xv6,TheMatrixShibe/tmsv6,lord021/Assignment2,Raysmond/xv6,humphreyja/Xv6,pekopeko1/xv6,OrangeTide/xv6-public,AZQ1994/xv6,AskDrCatcher/xv6,f13mash/xv6,GautamV/xv6,SanchayanMaity/xv6-cs450,Laaia/RT-xv6,bngabonziza/xv6,prashantkhurana/OS,siddharthv/xv6,Royvaknin29/OS_Ass1,WeiranFang/cs518hw3,tinti/xv6-ubuntu,xujunhai1991/xv6,TheMatrixShibe/tmsv6,ihciah/XV6-OS,rafamanzo/ep4-so,roygoldman/xv6-sem,kingsizeme/xv6,chrisdew/xv6,baboofei/v6rt,howerj/xv6,seckcoder/mirror-xv6,guilleiguaran/xv6,kongming92/6828-xv6,UIKit0/xv6-1,CHRISTOPHERDIEHL/xv6,eewayhsu/xv6,Cheukyin/xv6,Y-liulian/xv6-public,Laaia/RT-xv6,t3rm1n4l/xv6,gburd/xv6,galbenor/os162-4,ckkashyap/xv6,emaadmanzoor/xv6,MrHohn/cs518hw2,bngabonziza/xv6-public,pekopeko1/xv6,pekopeko1/xv6,arturosevilla/xv6-turi,alex0906093/xv6,firstblade/xv6,wenhuizhang/xv6-public,myl2821/xv6-fork,pekopeko1/xv6,pelhamnicholas/xv6,TheDude05/xv6,myl2821/xv6-fork,lishuwnc/Xv6,nwf/xv6-public,johnson-li/xv6-homework,yubai/ksm_xv6,xujunhai1991/xv6,ManaPoustizadeh/OS-finalProject,tamlok/xv6,arajago6/Axv6_One,danluu/Xv6,emaadmanzoor/xv6,davidbalbert/xv6,ZheyuJin/xv6_reading,Laaia/RT-xv6,rlok3000/xv6,leenjewel/xv6_learn,bowlofstew/xv6-public,DuskDragon/xv6,Cealestus/cmpt332Assignment1,t3rm1n4l/xv6,danrods/xv6Hacks,wangxiayang/xv6,siddharthv/xv6,lord021/Assignment1,chyka-dev/xv6-public,wangxiayang/xv6,UIKit0/Xv6,gnosis23/xv6,kingsizeme/xv6,justodiaz/xv6,voytovichs/xv6-public,sdimitro/xv6,walafc0/xv6,svdamani/xv6,MatanGilead/myxv6,raman162/CS450,niral28/hw1,seckcoder/mirror-xv6,sdimitro/xv6,techno/xv6-mist32,firstblade/xv6,liadgi/os163,t3rm1n4l/xv6,pablogventura/xv6-public,imagine4077/xv6-public,gzpan123/xv6,yubai/ksm_xv6,gnosis23/xv6,jsommers/xv6-public,preshshah/xv6,sometimesfood/xv6-public,laisborin/RT-xv6,codelabs-ch/xv6-muen,shtyd/xv6-lua,arajago6/Axv6_One,shadowfax-ring/mit-xv6,roygoldman/xv6-fsprot,chyka-dev/xv6-public,ahorn/xv6,nwf/xv6-public,penguiner/xv6,supdizh/clean_xv6,Mifnight/xv6-public,chrisdew/xv6,jsommers/xv6-public,bngabonziza/xv6-1,KushOza/hw2,film42/xv6,i/xv6,ahorn/xv6,TheMatrixShibe/tmsv6,junxu/xv6,romanzhg/xv6,fintler/xv6,UIKit0/Xv6,pekopeko1/xv6-code,sigma-random/xv6,bowlofstew/xv6-public,rajma996/xv6,myl2821/xv6-fork,gzpan123/xv6,pablogventura/xv6-public,forwchen/xv6,danluu/Xv6,romanzhg/xv6,williamsandrew/xv6,v1ta/xv6,ckkashyap/xv6,s-rah/xv6-permissions,raman162/CS450,imagine4077/xv6-public,expertsnipo/xv6,SajadAzami/xv6-pm,gw/xv6,robertpd/xv6,garzon/xv6,lord021/Assignment1,oskarth/xv6,junxu/xv6,expertsnipo/xv6,shining-yang/xv6,liyinhgqw/xv6,Royvaknin29/OS_Ass1,jmatth/xv6,nomadium/xv6,shyandsy/xv6,liorderei/OS_Class,johnson-li/xv6-homework,fintler/xv6,wkatsak/xv6,gnosis23/xv6,gco/xv6,howerj/xv6,leenjewel/xv6_learn,film42/xv6,walafc0/xv6,wkatsak/xv6,supr/Xv6,lolosssss/Xv6,tehgeekmeister/xv6,AskDrCatcher/xv6,konyavic/xv6,OrangeTide/xv6-public,BMJHayward/xv6-public,Raysmond/xv6,khalily/xv6,meilank/CS416-hw2,UIKit0/Xv6,CKost/Authorization,jgome043/tearos,SanchayanMaity/xv6-cs450,MrHohn/cs518hw3,kongming92/6828-xv6,galbenor/os162-4,wenhuizhang/xv6-public,liorderei/OS_Class,AZQ1994/xv6,danrods/xv6Hacks,CHRISTOPHERDIEHL/xv6,justodiaz/xv6,laisborin/RT-xv6,film42/xv6,avana002/xv6,roygoldman/xv6-sem,jeffallen/xv6,guilleiguaran/xv6,rlok3000/xv6,tenstep/xv6,wangxiayang/xv6,davidbalbert/xv6,gw/xv6,bohaoist/xv6,meilank/CS416-hw2,DuskDragon/xv6,tinti/xv6-ubuntu,panks/Xv6,AskDrCatcher/xv6,RicardoParizotto/xv6---stride-scheduling,SarthakCodes/xv6,sometimesfood/xv6,AskDrCatcher/xv6,wangxiayang/xv6,baboofei/v6rt,preshshah/xv6,nwf/xv6-public,roygoldman/xv6-fsprot,prashantkhurana/OS,ihciah/XV6-OS,bngabonziza/xv6-1,varunk08/xv6,junxu/xv6,MrHohn/cs518hw3,phf/xv6-public,wenhuizhang/xv6-public,arturosevilla/xv6-turi,louisje/xv6,rlok3000/xv6,SajadAzami/xv6-pm,techno/xv6-mist32,preshshah/xv6,shtyd/xv6-lua,i/xv6,gw/xv6,alex0906093/xv6,v1ta/xv6,reutz19/xv6_ass4,laisborin/RT-xv6,logangorence/xv6-public,louisje/xv6,khalily/xv6,wkatsak/xv6,gburd/xv6,5kg/xv6,WeiranFang/cs518hw3,BMJHayward/xv6-public,s-rah/xv6-permissions,SanchayanMaity/xv6-cs450,imagine4077/xv6-public,HawxChen/Offical-Version-xv6,lenw/xv6-public,Cealestus/cmpt332Assignment1,varunk08/xv6,danluu/Xv6,howerj/xv6,aquamme/xv6,lord021/Assignment1,RicardoParizotto/xv6---stride-scheduling,techno/xv6-mist32,panks/Xv6,penguiner/xv6,MrHohn/cs518hw2,roygoldman/xv6-sem,chnpmy/xv6,reutz19/xv6_ass4,MrHohn/CS-OperatingSystem-hw3,SarthakCodes/xv6,sdharan/xv6-rcu,svdamani/xv6,rajma996/xv6,ThomasDq/xv6OS,v1ta/xv6,bohaoist/xv6,BMJHayward/xv6-public,danrods/xv6Hacks,dswann5/os_assignment_3,HugoTian/xv6,nrahimi/xv6,ZheyuJin/xv6_reading,meilank/CS416-hw1,arianvp/xv6,phf/xv6-public,ThomasDq/xv6OS,bngabonziza/xv6-1,gmy987/xv6,5kg/xv6,liorderei/OS_Class,Cealestus/cmpt332Assignment1,meilank/CS416-hw2,ShakhMoves/Shakh6,rafamanzo/ep4-so,HugoTian/xv6,Mifnight/xv6-public,tehgeekmeister/xv6,5kg/xv6,sdharan/xv6-rcu,OrangeTide/xv6-public,codelabs-ch/xv6-muen,PINK-FL0YD/xv6-public,shining-yang/xv6,walafc0/xv6,yum185/assign1_partA,pelhamnicholas/xv6,Cealestus/cmpt332Assignment1,maxymania/open-xv6,danluu/Xv6,gnudeep/xv6,reutz19/xv6_ass4,yum185/assign1_partA,williamsandrew/xv6,TheMatrixShibe/tmsv6,Royvaknin29/OS_Ass1,jsommers/xv6-public,shadowfax-ring/mit-xv6,shyandsy/xv6,alex0906093/xv6,firstblade/xv6,shtyd/xv6-lua,ihciah/XV6-OS,ShakhMoves/Shakh6,AndreiRO/xv6,rafamanzo/ep2-so-xv6,juroland/xv6,vicionator/XV6,gmy987/xv6,HawxChen/Offical-Version-xv6,kingsizeme/xv6,louisje/xv6,WeiranFang/cs518hw3,nrahimi/xv6,arajago6/Axv6_One,gburd/xv6,xv6-jp/xv6,williamsandrew/xv6,i/xv6,MatanGilead/myxv6,khalily/xv6,MatanGilead/myxv6,nwf/xv6-public,nwolovick/xv6-public,phf/xv6-public,PINK-FL0YD/xv6-public,sometimesfood/xv6