mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-10 07:44:54 -04:00
Merge pull request #202 from giuseppe/accept-ro
main.c: accept "ro" as a mount option
This commit is contained in:
commit
f040ab0343
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