diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-12 19:25:41 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-12 19:25:41 -0700 |
| commit | 4543d758269b7a46fbcc198a4c2e4e2be2bcefa0 (patch) | |
| tree | efaa5271be56b1ff615af1dcfdb05397382d93bf | |
| parent | 3de1b14f68700a4e35c63c3a85c5859fe32ec05b (diff) | |
[PATCH] stack reductions: nfs root
From: Arjan van de Ven <arjanv@redhat.com>
root_nfs_name is called one in single threaded environment; can use static.
| -rw-r--r-- | fs/nfs/nfsroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c index 305ef463bf82..2e43a7b76cd7 100644 --- a/fs/nfs/nfsroot.c +++ b/fs/nfs/nfsroot.c @@ -273,7 +273,7 @@ static int __init root_nfs_parse(char *name, char *buf) */ static int __init root_nfs_name(char *name) { - char buf[NFS_MAXPATHLEN]; + static char buf[NFS_MAXPATHLEN]; char *cp; /* Set some default values */ |
