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/namei.c | |
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/namei.c')
-rw-r--r-- | fs/namei.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/namei.c b/fs/namei.c index 0f76fd75591b..defe6781e003 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2071,8 +2071,8 @@ exit: | |||
2071 | * ->i_sem on parents, which works but leads to some truely excessive | 2071 | * ->i_sem on parents, which works but leads to some truely excessive |
2072 | * locking]. | 2072 | * locking]. |
2073 | */ | 2073 | */ |
2074 | int vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, | 2074 | static int vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, |
2075 | struct inode *new_dir, struct dentry *new_dentry) | 2075 | struct inode *new_dir, struct dentry *new_dentry) |
2076 | { | 2076 | { |
2077 | int error = 0; | 2077 | int error = 0; |
2078 | struct inode *target; | 2078 | struct inode *target; |
@@ -2116,8 +2116,8 @@ int vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, | |||
2116 | return error; | 2116 | return error; |
2117 | } | 2117 | } |
2118 | 2118 | ||
2119 | int vfs_rename_other(struct inode *old_dir, struct dentry *old_dentry, | 2119 | static int vfs_rename_other(struct inode *old_dir, struct dentry *old_dentry, |
2120 | struct inode *new_dir, struct dentry *new_dentry) | 2120 | struct inode *new_dir, struct dentry *new_dentry) |
2121 | { | 2121 | { |
2122 | struct inode *target; | 2122 | struct inode *target; |
2123 | int error; | 2123 | int error; |