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>
Loading
Please sign in to comment