commit | 0e082555cec9510d276965fe391f709acb32c0f4 | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Tue Jul 18 21:07:43 2017 +0300 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Thu Jul 20 11:08:21 2017 +0200 |
tree | 437e67241b032c2a0e3f009f9ae940839b077008 | |
parent | 61b674710cd9afa2a8b17bdd1ac80670c9b79f1d [diff] |
ovl: check for bad and whiteout index on lookup Index should always be of the same file type as origin, except for the case of a whiteout index. A whiteout index should only exist if all lower aliases have been unlinked, which means that finding a lower origin on lookup whose index is a whiteout should be treated as a lookup error. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>