From fe4060ae681d932f94ae78ae7a757c277151c5a8 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 25 Nov 2014 00:34:34 +0000 Subject: [PATCH] kn_open: shave off 30 bytes --- Kernel/filesys.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Kernel/filesys.c b/Kernel/filesys.c index 971988b0..2ea31512 100644 --- a/Kernel/filesys.c +++ b/Kernel/filesys.c @@ -34,12 +34,14 @@ inoptr n_open(char *uname, inoptr *parent) return r; } -inoptr kn_open(char *name, inoptr *parent) +inoptr kn_open(char *namep, inoptr *parent) { staticfast inoptr wd; /* the directory we are currently searching. */ staticfast inoptr ninode; inoptr temp; + staticfast char *name; + name = namep; #ifdef DEBUG kprintf("kn_open(\"%s\")\n", name); #endif -- 2.34.1