Searched hist:"61 b674710cd9afa2a8b17bdd1ac80670c9b79f1d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/overlayfs/ |
H A D | readdir.c | diff 61b674710cd9afa2a8b17bdd1ac80670c9b79f1d Tue Jul 18 13:07:42 CDT 2017 Amir Goldstein <amir73il@gmail.com> ovl: do not cleanup directory and whiteout index entries
Directory index entries are going to be used for looking up redirected upper dirs by lower dir fh when decoding an overlay file handle of a merge dir.
Whiteout index entries are going to be used as an indication that an exported overlay file handle should be treated as stale (i.e. after unlink of the overlay inode).
We don't know the verification rules for directory and whiteout index entries, because they have not been implemented yet, so fail to mount overlay rw if those entries are found to avoid corrupting an index that was created by a newer kernel.
Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
H A D | namei.c | diff 61b674710cd9afa2a8b17bdd1ac80670c9b79f1d Tue Jul 18 13:07:42 CDT 2017 Amir Goldstein <amir73il@gmail.com> ovl: do not cleanup directory and whiteout index entries
Directory index entries are going to be used for looking up redirected upper dirs by lower dir fh when decoding an overlay file handle of a merge dir.
Whiteout index entries are going to be used as an indication that an exported overlay file handle should be treated as stale (i.e. after unlink of the overlay inode).
We don't know the verification rules for directory and whiteout index entries, because they have not been implemented yet, so fail to mount overlay rw if those entries are found to avoid corrupting an index that was created by a newer kernel.
Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|