/* Generate a key to describe an NFS inode in an NFS server's index  */
static uint16_t nfs_fscache_inode_get_key(const void *cookie_netfs_data, void *buffer, uint16_t bufmax)
/* Generate a key to describe an NFS inode in an NFS server's index  */
static uint16_t nfs_fscache_inode_get_key(const void *cookie_netfs_data, void *buffer, uint16_t bufmax)
{
	const struct nfs_inode *nfsi = cookie_netfs_data;
	uint16_t nsize;
	nsize = nfsi->fh.size;
	memcpy(buffer, nfsi->fh.data, nsize);
	return nsize;
}