NACK: [SRU][J][master-next][PATCH] UBUNTU: SAUCE: overlayfs: remove CONFIG_AUFS_FS dependency

Alexander Mikhalitsyn alexander.mikhalitsyn at
Tue Aug 2 08:04:23 UTC 2022

On Tue, 2 Aug 2022 09:05:31 +0200
Andrea Righi <andrea.righi at> wrote:

> On Tue, Aug 02, 2022 at 12:50:43AM +0300, Alexander Mikhalitsyn wrote:
> > BugLink:
> > BugLink:
> > 
> > BugLink:
> > 
> > Right now we have a fix:
> > b07bc17b ("UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files")
> > in master branch of Jammy kernel, but only formaly. Because these kernels compiled without
> > CONFIG_AUFS_FS set, so this fix just disabled. There is no need to make it dependent on
> > CONFIG_AUFS_FS option, because in all cases we have mm/prfile.c compiled-in.
> > 
> > Cc: Andrei Vagin <avagin at>
> > Cc: Adrian Reber <areber at>
> > Cc: Stefan Bader <stefan.bader at>
> > Cc: Kleber Sacilotto de Souza <kleber.souza at>
> > Cc: Krzysztof Kozlowski <krzysztof.kozlowski at>
> > Cc: Andrea Righi <andrea.righi at>
> > 
> > Fixes: b07bc17b ("UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files")
> > Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn at>

Hi Andrea,

> It's true that we don't need this in Jammy, but we need it in focal for
> the hwe kernels, where we still need to support AUFS. So, we decided to

I'm sorry, but I don't understand your point.

This patch *completely* independent of CONFIG_AUFS_FS it only relies on
the *one* small piece of code from aufs:
which is present in the master-next branch.

And this code is always compiled-in regardless of the CONFIG_AUFS_FS kernel.

But for this branch we need to remove this check because it makes this fix totally useless and users are still facing issues with overlayfs.

> keep it also in Jammy, even if, as you correctly mentioned, it's just
> formal change, since this patch is a no-op with AUFS disabled, but it
> helps to maintain the code especially when we need to release new hwe
> kernels.

I've prepared corresponding separate (!) patches for hwe-5.17 branch. Please take a look.

> -Andrea


More information about the kernel-team mailing list