linux-stable/fs/overlayfs
Andrea Righi adcd459ff8 ovl: validate superblock in OVL_FS()
When CONFIG_OVERLAY_FS_DEBUG is enabled add an explicit check to make
sure that OVL_FS() is always used with a valid overlayfs superblock.
Otherwise trigger a WARN_ON_ONCE().

Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
2023-08-12 19:02:54 +03:00
..
copy_up.c ovl: make consistent use of OVL_FS() 2023-08-12 19:02:54 +03:00
dir.c ovl: store enum redirect_mode in config instead of a string 2023-06-19 14:02:01 +03:00
export.c ovl: make consistent use of OVL_FS() 2023-08-12 19:02:54 +03:00
file.c ovl: Validate verity xattr when resolving lowerdata 2023-08-12 19:02:38 +03:00
inode.c ovl: make consistent use of OVL_FS() 2023-08-12 19:02:54 +03:00
Kconfig ovl: Kconfig: introduce CONFIG_OVERLAY_FS_DEBUG 2023-08-12 19:02:53 +03:00
Makefile ovl: modify layer parameter parsing 2023-06-20 14:10:40 +03:00
namei.c ovl: make consistent use of OVL_FS() 2023-08-12 19:02:54 +03:00
overlayfs.h ovl: auto generate uuid for new overlay filesystems 2023-08-12 19:02:50 +03:00
ovl_entry.h ovl: validate superblock in OVL_FS() 2023-08-12 19:02:54 +03:00
params.c ovl: make consistent use of OVL_FS() 2023-08-12 19:02:54 +03:00
params.h ovl: move all parameter handling into params.{c,h} 2023-07-03 16:08:17 +03:00
readdir.c vfs: get rid of old '->iterate' directory operation 2023-08-06 15:08:35 +02:00
super.c ovl: make consistent use of OVL_FS() 2023-08-12 19:02:54 +03:00
util.c ovl: make consistent use of OVL_FS() 2023-08-12 19:02:54 +03:00