Re: [PATCH v2] kernfs: attach uuid for every kernfs and report it in fsid

From: Christian Brauner
Date: Mon Jul 31 2023 - 15:08:52 EST


On Mon, Jul 31, 2023 at 11:47:31AM -0700, Ivan Babrou wrote:
> The following two commits added the same thing for tmpfs:
>
> * commit 2b4db79618ad ("tmpfs: generate random sb->s_uuid")
> * commit 59cda49ecf6c ("shmem: allow reporting fanotify events with file handles on tmpfs")
>
> Having fsid allows using fanotify, which is especially handy for cgroups,
> where one might be interested in knowing when they are created or removed.
>
> Signed-off-by: Ivan Babrou <ivan@xxxxxxxxxxxxxx>
> Acked-by: Jan Kara <jack@xxxxxxx>
>
> ---

Acked-by: Christian Brauner <brauner@xxxxxxxxxx>