llists: move llist_reverse_order from raid5 to llist.c
Make this useful helper available for other users. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@kernel.dk> Cc: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
ca5ecd64c2
commit
b89241e8cd
@@ -195,4 +195,6 @@ static inline struct llist_node *llist_del_all(struct llist_head *head)
|
||||
|
||||
extern struct llist_node *llist_del_first(struct llist_head *head);
|
||||
|
||||
struct llist_node *llist_reverse_order(struct llist_node *head);
|
||||
|
||||
#endif /* LLIST_H */
|
||||
|
Reference in New Issue
Block a user