- disable exports access control check (bz 203277). - fix patch to add command option for set a global mount options (bz 214684).
16 lines
356 B
Diff
16 lines
356 B
Diff
diff --git a/lib/mounts.c b/lib/mounts.c
|
|
index 524f0ee..0e428e8 100644
|
|
--- a/lib/mounts.c
|
|
+++ b/lib/mounts.c
|
|
@@ -371,7 +371,9 @@ int contained_in_local_fs(const char *path)
|
|
ret = 1;
|
|
} else
|
|
ret = 1;
|
|
- }
|
|
+ } else if (!strncmp("LABEL=", this->fs_name, 6) ||
|
|
+ !strncmp("UUID=", this->fs_name, 5))
|
|
+ ret = 1;
|
|
break;
|
|
}
|
|
}
|