]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
afs: Always build address lists using the helper functions
authorDavid Howells <dhowells@redhat.com>
Thu, 4 Oct 2018 08:32:27 +0000 (09:32 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 4 Oct 2018 08:32:27 +0000 (09:32 +0100)
commit4c19bbdc7f7c76da14a7192072c47c3b9b582e80
treef2943cb03fb3b244ace82ef2f39b21f9e38400ee
parent68eb64c3d2fd558c606dcff6d3e8a2701388a80f
afs: Always build address lists using the helper functions

Make the address list string parser use the helper functions for adding
addresses to an address list so that they end up appropriately sorted.
This will better handles overruns and make them easier to compare.

It also reduces the number of places that addresses are handled, making it
easier to fix the handling.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/addr_list.c