diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-11-16 17:14:41 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-01-24 09:46:45 +0100 |
commit | 0f831ec85eda1ae27490baba106aba632c1d8e94 (patch) | |
tree | f97b25b2abf25f78fb98a3763dee228667fd8665 /Kconfig | |
parent | ovl: generalize the lower_layers[] array (diff) | |
download | linux-0f831ec85eda1ae27490baba106aba632c1d8e94.tar.xz linux-0f831ec85eda1ae27490baba106aba632c1d8e94.zip |
ovl: simplify ovl_same_sb() helper
No code uses the sb returned from this helper, so make it retrun a boolean
and rename it to ovl_same_fs().
The xino mode is irrelevant when all layers are on same fs, so instead of
describing samefs with mode OVL_XINO_OFF, use a new xino_mode state, which
is 0 in the case of samefs, -1 in the case of xino=off and > 0 with xino
enabled.
Create a new helper ovl_same_dev(), to use instead of the common check for
(ovl_same_fs() || xinobits).
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions