diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-07-18 21:07:43 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-07-20 11:08:21 +0200 |
commit | 0e082555cec9510d276965fe391f709acb32c0f4 (patch) | |
tree | 437e67241b032c2a0e3f009f9ae940839b077008 /fs/ceph/locks.c | |
parent | 61b674710cd9afa2a8b17bdd1ac80670c9b79f1d (diff) | |
download | linux-stable-0e082555cec9510d276965fe391f709acb32c0f4.tar.gz linux-stable-0e082555cec9510d276965fe391f709acb32c0f4.tar.bz2 linux-stable-0e082555cec9510d276965fe391f709acb32c0f4.zip |
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>
Diffstat (limited to 'fs/ceph/locks.c')
0 files changed, 0 insertions, 0 deletions