afs: Detect cell aliases 2 - Cells with no root volumes
authorDavid Howells <dhowells@redhat.com>
Sun, 26 Apr 2020 09:12:27 +0000 (10:12 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 4 Jun 2020 14:37:57 +0000 (15:37 +0100)
commit6ef350b1842081bef7e4879993f47f052b7007e7
treed681b177ad5b69d75b28b7c8f40619491cdaf86b
parent8a070a964877c71139cba46202f6f263c2b9419d
afs: Detect cell aliases 2 - Cells with no root volumes

Implement the second phase of cell alias detection.  This part handles
alias detection for cells that don't have root.cell volumes and so we have
to find some other volume or fileserver to query.

We take the first volume from each such cell and attempt to look it up in
the new cell.  If found, we compare the records, if they are the same, we
judge the cell names to be aliases.

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