diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-05 19:16:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-05 19:36:47 -0400 |
commit | 75c96f85845a6707b0f9916cb263cb3584f7d48f (patch) | |
tree | 45a64d1c9bb71d7093db3a11e0f21465c2e3dec6 /fs/nfs | |
parent | 5e198d94dd0c3ec7f6138229e2e412c2c6268c38 (diff) |
[PATCH] make some things static
This patch makes some needlessly global identifiers static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Arjan van de Ven <arjanv@infradead.org>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/idmap.c | 4 | ||||
-rw-r--r-- | fs/nfs/inode.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index b74c4e3a64e2..87f4f9aeac86 100644 --- a/fs/nfs/idmap.c +++ b/fs/nfs/idmap.c | |||
@@ -79,7 +79,7 @@ static ssize_t idmap_pipe_upcall(struct file *, struct rpc_pipe_msg *, | |||
79 | char __user *, size_t); | 79 | char __user *, size_t); |
80 | static ssize_t idmap_pipe_downcall(struct file *, const char __user *, | 80 | static ssize_t idmap_pipe_downcall(struct file *, const char __user *, |
81 | size_t); | 81 | size_t); |
82 | void idmap_pipe_destroy_msg(struct rpc_pipe_msg *); | 82 | static void idmap_pipe_destroy_msg(struct rpc_pipe_msg *); |
83 | 83 | ||
84 | static unsigned int fnvhash32(const void *, size_t); | 84 | static unsigned int fnvhash32(const void *, size_t); |
85 | 85 | ||
@@ -434,7 +434,7 @@ out: | |||
434 | return ret; | 434 | return ret; |
435 | } | 435 | } |
436 | 436 | ||
437 | void | 437 | static void |
438 | idmap_pipe_destroy_msg(struct rpc_pipe_msg *msg) | 438 | idmap_pipe_destroy_msg(struct rpc_pipe_msg *msg) |
439 | { | 439 | { |
440 | struct idmap_msg *im = msg->data; | 440 | struct idmap_msg *im = msg->data; |
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 6345f26e87ee..f2317f3e29f9 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -1904,7 +1904,7 @@ static void init_once(void * foo, kmem_cache_t * cachep, unsigned long flags) | |||
1904 | } | 1904 | } |
1905 | } | 1905 | } |
1906 | 1906 | ||
1907 | int nfs_init_inodecache(void) | 1907 | static int nfs_init_inodecache(void) |
1908 | { | 1908 | { |
1909 | nfs_inode_cachep = kmem_cache_create("nfs_inode_cache", | 1909 | nfs_inode_cachep = kmem_cache_create("nfs_inode_cache", |
1910 | sizeof(struct nfs_inode), | 1910 | sizeof(struct nfs_inode), |
@@ -1916,7 +1916,7 @@ int nfs_init_inodecache(void) | |||
1916 | return 0; | 1916 | return 0; |
1917 | } | 1917 | } |
1918 | 1918 | ||
1919 | void nfs_destroy_inodecache(void) | 1919 | static void nfs_destroy_inodecache(void) |
1920 | { | 1920 | { |
1921 | if (kmem_cache_destroy(nfs_inode_cachep)) | 1921 | if (kmem_cache_destroy(nfs_inode_cachep)) |
1922 | printk(KERN_INFO "nfs_inode_cache: not all structures were freed\n"); | 1922 | printk(KERN_INFO "nfs_inode_cache: not all structures were freed\n"); |