Re: [RFC PATCH 1/1] ovl: Use fsid as unique identifier for trusted origin

From: Christoph Hellwig

Date: Tue Oct 14 2025 - 00:39:13 EST


On Mon, Oct 13, 2025 at 10:57:07PM -0300, André Almeida wrote:
> Some filesystem have non-persistent UUIDs, that can change between
> mounting, even if the filesystem is not modified. To prevent
> false-positives when mounting overlayfs with index enabled, use the fsid
> reported from statfs that is persistent across mounts.

Please fix btrfs to not change uuids, as that completely defeats the
point of uuids.