summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-20 03:24:00 +0100
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 18:29:12 -0800
commit58d206c2fa5cc0b35bf3ca48324d7633aa7d0412 (patch)
treef0c9fe91c970734f17a35d22bd722d85b30b9986 /fs
parent25899deef46c226c49c53b42c00e0f032379c04b (diff)
downloadlinux-58d206c2fa5cc0b35bf3ca48324d7633aa7d0412.tar.bz2
configfs: make configfs_dirent_exists() static
This patch makes the needlessly global configfs_dirent_exists() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/configfs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c
index 452cfd1e785f..c398861f78a5 100644
--- a/fs/configfs/dir.c
+++ b/fs/configfs/dir.c
@@ -93,8 +93,8 @@ static struct configfs_dirent *configfs_new_dirent(struct configfs_dirent * pare
*
* called with parent inode's i_mutex held
*/
-int configfs_dirent_exists(struct configfs_dirent *parent_sd,
- const unsigned char *new)
+static int configfs_dirent_exists(struct configfs_dirent *parent_sd,
+ const unsigned char *new)
{
struct configfs_dirent * sd;