Always ignore "none" FS type.
See #577537. svn path=/trunk/; revision=2816
This commit is contained in:
@@ -92,6 +92,8 @@ ignore_fs(const char *fstype, IgnoreList** ig)
|
|||||||
|
|
||||||
*ig = ignore_list_new();
|
*ig = ignore_list_new();
|
||||||
|
|
||||||
|
ignore_list_add(*ig, "none");
|
||||||
|
|
||||||
if ((fs = fopen("/proc/filesystems", "r")) != NULL) {
|
if ((fs = fopen("/proc/filesystems", "r")) != NULL) {
|
||||||
while (fgets(line, sizeof line, fs)) {
|
while (fgets(line, sizeof line, fs)) {
|
||||||
if (!strncmp(line, "nodev", 5)) {
|
if (!strncmp(line, "nodev", 5)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user