]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71122b4b510b0cecd4f6a94c0f128e2e9d438edd
treed681b177ad5b69d75b28b7c8f40619491cdaf86b
parent02dd6dcf91e31cab6f43b3df0e96b73084a55a8e
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