[systemd-devel] [PATCH] util: always consider glusterfs as a network filesystem
Lennart Poettering
lennart at poettering.net
Mon Mar 24 09:12:30 PDT 2014
On Mon, 24.03.14 15:55, Lukas Nykryn (lnykryn at redhat.com) wrote:
Are you sure this does what you think it does? I mean, AFAIR glusterfs
is a fuse FS, and hence will nevershow up like this in fstab nor
/proc/self/mountinfo... Or am I missing something?
> ---
> src/shared/util.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/shared/util.c b/src/shared/util.c
> index dd67c22..6f73387 100644
> --- a/src/shared/util.c
> +++ b/src/shared/util.c
> @@ -1500,7 +1500,8 @@ bool fstype_is_network(const char *fstype) {
> "nfs\0"
> "nfs4\0"
> "gfs\0"
> - "gfs2\0";
> + "gfs2\0"
> + "glusterfs\0";
>
> return nulstr_contains(table, fstype);
> }
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list