public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e059da0
)
i_alloc: shave another 60 bytes off
author
Alan Cox
<alan@etchedpixels.co.uk>
Tue, 25 Nov 2014 00:31:09 +0000
(
00:31
+0000)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Tue, 25 Nov 2014 00:31:09 +0000
(
00:31
+0000)
Kernel/filesys.c
patch
|
blob
|
history
diff --git
a/Kernel/filesys.c
b/Kernel/filesys.c
index
5f0e159
..
971988b
100644
(file)
--- a/
Kernel/filesys.c
+++ b/
Kernel/filesys.c
@@
-465,10
+465,11
@@
bool baddev(fsptr dev)
uint16_t i_alloc(uint16_t devno)
{
- fsptr dev;
- blkno_t blk;
+
staticfast
fsptr dev;
+
staticfast
blkno_t blk;
struct dinode *buf;
- int j, k;
+ staticfast uint16_t j;
+ uint16_t k;
unsigned ino;
if(baddev(dev = getdev(devno)))