afs: Fix mounting of backup volumes
authorMarc Dionne <marc.dionne@auristor.com>
Wed, 16 May 2018 14:04:23 +0000 (11:04 -0300)
committerDavid Howells <dhowells@redhat.com>
Wed, 16 May 2018 20:35:23 +0000 (21:35 +0100)
commit1fba5868eed82766fb374c7d367166706f9269d5
treed15a64ee63fb158a569a0903749111f2135cc2c5
parent378831e4daec75fbba6d3612bcf3b4dd00ddbf08
afs: Fix mounting of backup volumes

In theory the AFS_VLSF_BACKVOL flag for a server in a vldb entry
would indicate the presence of a backup volume on that server.

In practice however, this flag is never set, and the presence of
a backup volume is implied by the entry having AFS_VLF_BACKEXISTS set,
for the server that hosts the read-write volume (has AFS_VLSF_RWVOL).

Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/vlclient.c