diff options
| author | Amir Goldstein <amir73il@gmail.com> | 2026-11-09 09:05:41 +0100 |
|---|---|---|
| committer | Amir Goldstein <amir73il@gmail.com> | 2026-11-10 15:47:33 +0100 |
| commit | fba955b070d13e2fdac097577ce3c6ffbeda4ea9 (patch) | |
| tree | b293a233d1fec042b2ad0ae63547dfb77f223fd2 /tools/perf/scripts/python | |
| parent | 011f67b2b5c366679af023261ee02e284d534a96 (diff) | |
ovl: do not allow nfs_export with data-only layers
Since data-only layers no longer require metacopy=on, which conflicts
with nfs_export=on, an overlay with data-only layers can be mounted
with nfs_export=on.
Decoding a file handle of a lower metacopy file whose data is in a
data-only layer builds the inode only from the decoded lower dentry,
without the lazy lowerdata redirect, so the data of the file would be
read from the metacopy file in the lower layer.
Fail the mount with explicit nfs_export=on and data-only layers and
otherwise disable nfs_export with data-only layers.
Fixes: 5ef7bcdeecc9 ("ovl: relax redirect/metacopy requirements for lower -> data redirect")
Cc: stable@vger.kernel.org
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
