mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-11 08:16:05 -04:00
main.c: accept "ro" as a mount option
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
ad7e6cdfa2
commit
dd985bccba
2
main.c
2
main.c
@ -4993,6 +4993,8 @@ fuse_opt_proc (void *data, const char *arg, int key, struct fuse_args *outargs)
|
|||||||
return 1;
|
return 1;
|
||||||
if (strcmp (arg, "max_write") == 0)
|
if (strcmp (arg, "max_write") == 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
if (strcmp (arg, "ro") == 0)
|
||||||
|
return 1;
|
||||||
|
|
||||||
if (key == FUSE_OPT_KEY_NONOPT)
|
if (key == FUSE_OPT_KEY_NONOPT)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user