diff options
| author | Miklos Szeredi <[email protected]> | 2025-02-10 14:11:22 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2025-04-07 09:22:49 +0000 |
| commit | eb3a04a8516ee9b5174379306f94279fc90424c4 (patch) | |
| tree | cfe186d5f93617176c68222410eb7dfa172c32ac /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 6.15-rc1 (diff) | |
| download | kernel-eb3a04a8516ee9b5174379306f94279fc90424c4.tar.gz kernel-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 <[email protected]>
Fixes: 24e16e385f22 ("ovl: add support for appending lowerdirs one by one")
Cc: <[email protected]> # v6.7
Reviewed-by: Amir Goldstein <[email protected]>
Reviewed-by: Alexander Larsson <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
