summaryrefslogtreecommitdiffstats
path: root/fs/configfs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-06-24 16:54:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-24 17:49:39 -0700
commit5286d20c4eb7b0c29217f8756652609df74f5489 (patch)
tree895ce64b877ffc310729c3ef1f76076fcbce699e /fs/configfs
parentb0cbeee72f88996678fff672a75bd845b7ad7034 (diff)
downloadop-kernel-dev-5286d20c4eb7b0c29217f8756652609df74f5489.zip
op-kernel-dev-5286d20c4eb7b0c29217f8756652609df74f5489.tar.gz
configfs: unexport/make static config_item_init()
config_item_init() is only used in item.c Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/configfs')
-rw-r--r--fs/configfs/item.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/configfs/item.c b/fs/configfs/item.c
index e65f9ff..4d6a30e 100644
--- a/fs/configfs/item.c
+++ b/fs/configfs/item.c
@@ -47,12 +47,11 @@ static void config_item_release(struct kref *kref);
* config_item_init - initialize item.
* @item: item in question.
*/
-void config_item_init(struct config_item *item)
+static void config_item_init(struct config_item *item)
{
kref_init(&item->ci_kref);
INIT_LIST_HEAD(&item->ci_entry);
}
-EXPORT_SYMBOL(config_item_init);
/**
* config_item_set_name - Set the name of an item
OpenPOWER on IntegriCloud