Skip to contentSkip to conversation

make configfs_dirent_exists() static

PATCH New Adrian Bunk 1 participant 1 message Nov 20, 2006 configfs

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make configfs_dirent_exists() static

This patch makes the needlessly global configfs_dirent_exists() static.

fs/configfs/dir.c renamed from fs/configfs/dir.c.old +2 -2
@@ -93,8 +93,8 @@
  *
  * 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;