diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-11-15 13:12:40 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-01-22 20:11:41 +0100 |
commit | 94375f9d5103c2eb2f905381993a2fb70c297364 (patch) | |
tree | ca62fcf2e72a5b32ea218408e9ada833fe25c8e2 /fs/overlayfs/util.c | |
parent | ovl: improving copy-up efficiency for big sparse file (diff) | |
download | linux-94375f9d5103c2eb2f905381993a2fb70c297364.tar.xz linux-94375f9d5103c2eb2f905381993a2fb70c297364.zip |
ovl: generalize the lower_layers[] array
Rename lower_layers[] array to layers[], extend its size by one and
initialize layers[0] with upper layer values. Lower layers are now
addressed with index 1..numlower. layers[0] is reserved even with lower
only overlay.
[SzM: replace ofs->numlower with ofs->numlayer, the latter's value is
incremented by one]
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/util.c')
0 files changed, 0 insertions, 0 deletions