Trivial changes: whitespace and modes.

Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
This commit is contained in:
Dan Cross 2020-01-10 14:44:21 +00:00
parent 77a0a5b519
commit fa325e9b42
1021 changed files with 5688 additions and 6193 deletions

View file

@ -3,7 +3,7 @@
#include <diskfs.h>
/*
* Disk cache. Caches by offset, so higher levels have
* Disk cache. Caches by offset, so higher levels have
* to deal with alignment issues (if we get asked for the
* blocks at offsets 0 and 1, we'll do two reads).
*/
@ -43,7 +43,7 @@ addtohash(DiskCache *d, DiskCacheBlock *b, u64int offset)
if(b->offset != ~(u64int)0){
fprint(2, "bad offset in addtohash\n");
return;
return;
}
b->offset = offset;
h = offset % d->nhash;
@ -227,8 +227,8 @@ diskcacheread(Disk *dd, u32int len, u64int offset)
return b;
}
/*
* It's okay to remove these from the hash table.
/*
* It's okay to remove these from the hash table.
* Either the block is in use by someone or it is on
* the lru list. If it's in use it will get put on the lru
* list once the refs go away.
@ -264,7 +264,7 @@ diskcacheclose(Disk *dd)
blockput(b->subblock);
free(d);
}
/* needn't be fast */
static int
isprime(int n)