Skip to content
Commit 7c03b5d4 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

ovl: allow distributed fs as lower layer



Allow filesystems with .d_revalidate as lower layer(s), but not as upper
layer.

For local filesystems the rule was that modifications on the layers
directly while being part of the overlay results in undefined behavior.

This can easily be extended to distributed filesystems: we assume the tree
used as lower layer is static, which means ->d_revalidate() should always
return "1".  If that is not the case, return -ESTALE, don't try to work
around the modification.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent a6f15d9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment