summaryrefslogtreecommitdiffstats
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-04-27 13:42:53 +0100
committerDavid Howells <dhowells@redhat.com>2020-06-04 15:37:57 +0100
commit194d28cf197ca982556be58dcf687b43fd85e9cc (patch)
tree6b19b3888311d99610666089fd08a49004fa6ed3 /fs/afs/internal.h
parent3120c170ef35c1a9be137535e44c7e237e33b78e (diff)
downloadlinux-194d28cf197ca982556be58dcf687b43fd85e9cc.tar.bz2
afs: Retain more of the VLDB record for alias detection
Save more bits from the volume location database record obtained for a server so that we can use this information in cell alias detection. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r--fs/afs/internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 9f024c1bd650..dce03e068cab 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -546,7 +546,7 @@ struct afs_cb_interest {
};
/*
- * Replaceable server list.
+ * Replaceable volume server list.
*/
struct afs_server_entry {
struct afs_server *server;
@@ -554,6 +554,7 @@ struct afs_server_entry {
};
struct afs_server_list {
+ afs_volid_t vids[AFS_MAXTYPES]; /* Volume IDs */
refcount_t usage;
unsigned char nr_servers;
unsigned char preferred; /* Preferred server */