summaryrefslogtreecommitdiff
path: root/fs/overlayfs/readdir.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2015-06-22 13:53:48 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2015-06-22 13:53:48 +0200
commit7c03b5d45b8eebf0111125053d8fe887cc262ba6 (patch)
treead8008cde20dea6cae41dd0613d1d72833d15a0b /fs/overlayfs/readdir.c
parenta6f15d9a756571babbb2b2cd4fdd1b64a5de232b (diff)
downloadlwn-7c03b5d45b8eebf0111125053d8fe887cc262ba6.tar.gz
lwn-7c03b5d45b8eebf0111125053d8fe887cc262ba6.zip
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: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/overlayfs/readdir.c')
0 files changed, 0 insertions, 0 deletions