+2020-02-05 Marc Dionne <marc.dionne@auristor.com> (tiny change)
+
+ mountlist: Consider AFS filesystems as remote
+ df --local relies on the ME_REMOTE macro to determine if a given
+ mount entry should be considered "local". There is special logic
+ for nfs and smb/cifs mounts, but /afs as mounted by OpenAFS, the
+ kernel's kafs module or AuriStorFS is treated as a local mount.
+ * lib/mountlist.c (ME_REMOTE): Treat mounts of type 'afs'
+ (OpenAFS, kernel kafs) and 'auristorfs' (AuriStorFS) as remote.
+
2020-02-04 Paul Eggert <eggert@cs.ucla.edu>
Port _Noreturn to older Clang
#ifndef ME_REMOTE
/* A file system is "remote" if its Fs_name contains a ':'
or if (it is of type (smbfs or cifs) and its Fs_name starts with '//')
+ or if it is of type (afs or auristorfs)
or Fs_name is equal to "-hosts" (used by autofs to mount remote fs). */
# define ME_REMOTE(Fs_name, Fs_type) \
(strchr (Fs_name, ':') != NULL \
&& (Fs_name)[1] == '/' \
&& (strcmp (Fs_type, "smbfs") == 0 \
|| strcmp (Fs_type, "cifs") == 0)) \
+ || strcmp (Fs_type, "afs") == 0 \
+ || strcmp (Fs_type, "auristorfs") == 0 \
|| (strcmp("-hosts", Fs_name) == 0))
#endif