diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-11-21 13:55:51 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-24 11:25:52 +0100 |
commit | 86eaa13046d5e814484c89f635a95b0342b765ad (patch) | |
tree | 189e380030e95f8267ea015c1c9b3698828ef696 /fs/gfs2 | |
parent | 37b12916c0f802d956c767db984801d3100c6524 (diff) | |
download | linux-86eaa13046d5e814484c89f635a95b0342b765ad.tar.bz2 |
ovl: unbless lower st_ino of unverified origin
On a malformed overlay, several redirected dirs can point to the same
dir on a lower layer. This presents a similar challenge as broken
hardlinks, because different objects in the overlay can return the same
st_ino/st_dev pair from stat(2).
For broken hardlinks, we do not provide constant st_ino on copy up to
avoid this inconsistency. When NFS export feature is enabled, apply
the same logic to files and directories with unverified lower origin.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions