summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk2006-11-20 03:24:00 +0100
committerMark Fasheh2006-12-02 03:29:12 +0100
commit58d206c2fa5cc0b35bf3ca48324d7633aa7d0412 (patch)
treef0c9fe91c970734f17a35d22bd722d85b30b9986
parentocfs2: update file system paths to set atime (diff)
downloadkernel-qcow2-linux-58d206c2fa5cc0b35bf3ca48324d7633aa7d0412.tar.gz
kernel-qcow2-linux-58d206c2fa5cc0b35bf3ca48324d7633aa7d0412.tar.xz
kernel-qcow2-linux-58d206c2fa5cc0b35bf3ca48324d7633aa7d0412.zip
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>
-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;