Add commenting to singletonMountTables
This commit is contained in:
parent
f50d345fa3
commit
e0c2b37c2a
|
@ -801,6 +801,11 @@ func requiredMountTable() *MountTable {
|
|||
return table
|
||||
}
|
||||
|
||||
// This function returns tables that are singletons. The main usage of this is
|
||||
// for replication, so we can send over mount info (especially, UUIDs of
|
||||
// mounts, which are used for salts) for mounts that may not be able to be
|
||||
// handled normally. After saving these values on the secondary, we let normal
|
||||
// sync invalidation do its thing.
|
||||
func (c *Core) singletonMountTables() (mounts, auth *MountTable) {
|
||||
mounts = &MountTable{}
|
||||
auth = &MountTable{}
|
||||
|
|
Loading…
Reference in New Issue