/* get the auxiliary data for an FSDEF index record - this is the index structure version number of the netfs for which this version is created  */
static uint16_t fscache_fsdef_netfs_get_aux(const void *cookie_netfs_data, void *buffer, uint16_t bufmax)
/* get the auxiliary data for an FSDEF index record - this is the index structure version number of the netfs for which this version is created  */
static uint16_t fscache_fsdef_netfs_get_aux(const void *cookie_netfs_data, void *buffer, uint16_t bufmax)
{
	const struct fscache_netfs *netfs = cookie_netfs_data;
	unsigned dlen;
	_enter("{%s.%u},", netfs->name, netfs->version);
	dlen = sizeof(uint32_t);
	if (dlen > bufmax)
		return 0;
	memcpy(buffer, &netfs->version, dlen);
	return dlen;
}