Skip to content
Commit 3cdf6fe9 authored by Seunghun Lee's avatar Seunghun Lee Committed by Miklos Szeredi
Browse files

ovl: Prevent rw remount when it should be ro mount



Overlayfs should be mounted read-only when upper-fs is read-only or nonexistent.
But now it can be remounted read-write and this can cause kernel panic.
So we should prevent read-write remount when the above situation happens.

Signed-off-by: default avatarSeunghun Lee <waydi1@gmail.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent a425c037
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment