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:
parent
025db916aa
commit
9d03793386
|
@ -58,7 +58,7 @@ void ulist_init(struct ulist *ulist)
|
||||||
* This is useful in cases where the base 'struct ulist' has been statically
|
* This is useful in cases where the base 'struct ulist' has been statically
|
||||||
* allocated.
|
* allocated.
|
||||||
*/
|
*/
|
||||||
static void ulist_fini(struct ulist *ulist)
|
void ulist_fini(struct ulist *ulist)
|
||||||
{
|
{
|
||||||
struct ulist_node *node;
|
struct ulist_node *node;
|
||||||
struct ulist_node *next;
|
struct ulist_node *next;
|
||||||
|
|
|
@ -44,6 +44,7 @@ struct ulist {
|
||||||
};
|
};
|
||||||
|
|
||||||
void ulist_init(struct ulist *ulist);
|
void ulist_init(struct ulist *ulist);
|
||||||
|
void ulist_fini(struct ulist *ulist);
|
||||||
void ulist_reinit(struct ulist *ulist);
|
void ulist_reinit(struct ulist *ulist);
|
||||||
struct ulist *ulist_alloc(gfp_t gfp_mask);
|
struct ulist *ulist_alloc(gfp_t gfp_mask);
|
||||||
void ulist_free(struct ulist *ulist);
|
void ulist_free(struct ulist *ulist);
|
||||||
|
|
Loading…
Reference in New Issue