diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-09-03 09:12:09 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-10-26 23:34:40 +0200 |
commit | 9df085f3c9a2d4658a9fe323d70c200aa00ede93 (patch) | |
tree | 6101e8b13fd3aacd500e13ced803854258b78c00 /fs/hfs/attr.c | |
parent | 6b52243f633eb5521e427bf78c85ccf646795f46 (diff) | |
download | linux-9df085f3c9a2d4658a9fe323d70c200aa00ede93.tar.bz2 |
ovl: relax requirement for non null uuid of lower fs
We use uuid to associate an overlay lower file handle with a lower layer,
so we can accept lower fs with null uuid as long as all lower layers with
null uuid are on the same fs.
This change allows enabling index and nfs_export features for the setup of
single lower fs of type squashfs - squashfs supports file handles, but has
a null uuid. This change also allows enabling index and nfs_export features
for nested overlayfs, where the lower overlay has nfs_export enabled.
Enabling the index feature with single lower squashfs fixes the
unionmount-testsuite test:
./run --ov --squashfs --verify
As a by-product, if, like the lower squashfs, upper fs also uses the
generic export_encode_fh() implementation to export 32bit inode file
handles (e.g. ext4), then the xino_auto config/module/mount option will
enable unique overlay inode numbers.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/hfs/attr.c')
0 files changed, 0 insertions, 0 deletions