btrfs: ulist: make the finalization function public

Make ulist_fini externally visible so the ulist API is complete.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2017-02-13 13:40:16 +01:00
parent 025db916aa
commit 9d03793386
2 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ void ulist_init(struct ulist *ulist)
* This is useful in cases where the base 'struct ulist' has been statically
* allocated.
*/
static void ulist_fini(struct ulist *ulist)
void ulist_fini(struct ulist *ulist)
{
struct ulist_node *node;
struct ulist_node *next;

View File

@ -44,6 +44,7 @@ struct ulist {
};
void ulist_init(struct ulist *ulist);
void ulist_fini(struct ulist *ulist);
void ulist_reinit(struct ulist *ulist);
struct ulist *ulist_alloc(gfp_t gfp_mask);
void ulist_free(struct ulist *ulist);