From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([65.50.211.133]:38253 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751170AbdEEKBa (ORCPT ); Fri, 5 May 2017 06:01:30 -0400 Date: Fri, 5 May 2017 03:01:26 -0700 From: Christoph Hellwig To: Amir Goldstein Cc: Miklos Szeredi , Al Viro , linux-unionfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, Hugh Dickins , Andrew Morton Subject: Re: [PATCH] tmpfs: generate random sb->s_uuid Message-ID: <20170505100126.GA20759@infradead.org> References: <1493977468-21143-1-git-send-email-amir73il@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1493977468-21143-1-git-send-email-amir73il@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, May 05, 2017 at 12:44:28PM +0300, Amir Goldstein wrote: > This is used by overlayfs to encode intrasystem unique file handles. I think generate_random_uuid is the wrong interface to spread. The right one would be uuid_be_gen, although I'll still need to audit why one uses get_random_bytes and the other prandom_bytes.