Commit 9d037933 authored by David Sterba's avatar David Sterba

btrfs: ulist: make the finalization function public

Make ulist_fini externally visible so the ulist API is complete.
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 025db916
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment