summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/overlayfs.h
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2019-11-15 13:12:40 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2020-01-22 20:11:41 +0100
commit94375f9d5103c2eb2f905381993a2fb70c297364 (patch)
treeca62fcf2e72a5b32ea218408e9ada833fe25c8e2 /fs/overlayfs/overlayfs.h
parentovl: improving copy-up efficiency for big sparse file (diff)
downloadlinux-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/overlayfs.h')
0 files changed, 0 insertions, 0 deletions