Searched hist:"86 eaa13046d5e814484c89f635a95b0342b765ad" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/overlayfs/ |
H A D | inode.c | diff 86eaa13046d5e814484c89f635a95b0342b765ad Tue Nov 21 05:55:51 CST 2017 Amir Goldstein <amir73il@gmail.com> 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>
|