From 6e41860c414920934c19ad2224cd132438ddde25 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 20 Jul 2006 08:34:15 +0000 Subject: [PATCH] =?utf8?q?[ME=5FREMOTE]:=20Filter=20out=20cifs.=20Reported?= =?utf8?q?=20by=20Toralf=20F=F6rster=20in=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/mountlist.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/mountlist.c b/lib/mountlist.c index 0b21a6fa8b..3774c8e4ec 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -153,12 +153,13 @@ char *strstr (); #ifndef ME_REMOTE /* A file system is `remote' if its Fs_name contains a `:' - or if (it is of type smbfs and its Fs_name starts with `//'). */ + or if (it is of type (smbfs or cifs) and its Fs_name starts with `//'). */ # define ME_REMOTE(Fs_name, Fs_type) \ (strchr (Fs_name, ':') != NULL \ || ((Fs_name)[0] == '/' \ && (Fs_name)[1] == '/' \ - && strcmp (Fs_type, "smbfs") == 0)) + && (strcmp (Fs_type, "smbfs") == 0 \ + || strcmp (Fs_type, "cifs") == 0))) #endif #if MOUNTED_GETMNTINFO -- 2.47.3