summaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2025-02-10 15:11:22 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2025-04-07 11:22:49 +0200
commiteb3a04a8516ee9b5174379306f94279fc90424c4 (patch)
treecfe186d5f93617176c68222410eb7dfa172c32ac /scripts/clang-tools/gen_compile_commands.py
parent0af2f6be1b4281385b618cb86ad946eded089ac8 (diff)
downloadlinux-eb3a04a8516ee9b5174379306f94279fc90424c4.tar.gz
linux-eb3a04a8516ee9b5174379306f94279fc90424c4.tar.bz2
linux-eb3a04a8516ee9b5174379306f94279fc90424c4.zip
ovl: don't allow datadir only
In theory overlayfs could support upper layer directly referring to a data layer, but there's no current use case for this. Originally, when data-only layers were introduced, this wasn't allowed, only introduced by the "datadir+" feature, but without actually handling this case, resulting in an Oops. Fix by disallowing datadir without lowerdir. Reported-by: Giuseppe Scrivano <gscrivan@redhat.com> Fixes: 24e16e385f22 ("ovl: add support for appending lowerdirs one by one") Cc: <stable@vger.kernel.org> # v6.7 Reviewed-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Alexander Larsson <alexl@redhat.com> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions