linux/fs/overlayfs
Amir Goldstein 94375f9d51 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>
2020-01-22 20:11:41 +01:00
..
copy_up.c ovl: improving copy-up efficiency for big sparse file 2020-01-22 20:11:41 +01:00
dir.c ovl: use pr_fmt auto generate prefix 2020-01-22 20:11:41 +01:00
export.c ovl: generalize the lower_layers[] array 2020-01-22 20:11:41 +01:00
file.c ovl: use ovl_inode_lock in ovl_llseek() 2020-01-22 20:11:41 +01:00
inode.c ovl: use ovl_inode_lock in ovl_llseek() 2020-01-22 20:11:41 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c ovl: generalize the lower_layers[] array 2020-01-22 20:11:41 +01:00
overlayfs.h ovl: use pr_fmt auto generate prefix 2020-01-22 20:11:41 +01:00
ovl_entry.h ovl: generalize the lower_layers[] array 2020-01-22 20:11:41 +01:00
readdir.c ovl: use pr_fmt auto generate prefix 2020-01-22 20:11:41 +01:00
super.c ovl: generalize the lower_layers[] array 2020-01-22 20:11:41 +01:00
util.c ovl: use pr_fmt auto generate prefix 2020-01-22 20:11:41 +01:00