From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938020AbdAKOrX (ORCPT ); Wed, 11 Jan 2017 09:47:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43674 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933166AbdAKOrW (ORCPT ); Wed, 11 Jan 2017 09:47:22 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <2360985.j9pqdKkA3M@wuerfel> References: <2360985.j9pqdKkA3M@wuerfel> <20170111134436.3877048-1-arnd@arndb.de> <5338.1484142692@warthog.procyon.org.uk> To: Arnd Bergmann Cc: dhowells@redhat.com, Tina Ruchandani , linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] afs: correctly use 64-bit time for UUID MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6556.1484146040.1@warthog.procyon.org.uk> Date: Wed, 11 Jan 2017 14:47:20 +0000 Message-ID: <6557.1484146040@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 11 Jan 2017 14:47:23 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann wrote: > > Is it worth abstracting out in-kernel UUID generation? > > Do you mean moving it out of AFS into lib/*.c? I think the 'afs_uuid' > structure is quite different from other UUID definitions, so that wouldn't > work. afs_uuid is as it is to make it easier to package into the on-wire format, but I suspect there's no problem with using a completely random UUID instead and divvying it up the same way. David