i_alloc: shave another 60 bytes off
authorAlan Cox <alan@etchedpixels.co.uk>
Tue, 25 Nov 2014 00:31:09 +0000 (00:31 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Tue, 25 Nov 2014 00:31:09 +0000 (00:31 +0000)
Kernel/filesys.c

index 5f0e159..971988b 100644 (file)
@@ -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)))