]> git.baikalelectronics.ru Git - 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)
commit1ed3fad5d01e63d67b9ec4ac7fb07b614c366ebd
treef2943cb03fb3b244ace82ef2f39b21f9e38400ee
parent51e2df071dbd0d8d2ce9640b39d423fd651e6f9c
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