commit | 3cdf6fe91041b3afd6761f76254f7b6cbe8020fc | [log] [tgz] |
---|---|---|
author | Seunghun Lee <waydi1@gmail.com> | Sat Jan 03 02:26:49 2015 +0900 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Thu Jan 08 14:47:21 2015 +0100 |
tree | 5ec7e50d2280727e59da23dd6af59c12d3c009d2 | |
parent | a425c037f3dd8a56469158ab5f37beb46402d958 [diff] |
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: Seunghun Lee <waydi1@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>