X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=fs%2Fproc_namespace.c;h=273ee82d8aa97d8f83bfbfc986f1e8b1c65d640a;hb=cb85f4d23f794e24127f3e562cb3b54b0803f456;hp=e16fb8f2049e76dafdd533158fa534dc321d6dbc;hpb=fd9adc402b3d897709f56914702f243efa434c76;p=linux.git diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c index e16fb8f2049e..273ee82d8aa9 100644 --- a/fs/proc_namespace.c +++ b/fs/proc_namespace.c @@ -88,7 +88,7 @@ static inline void mangle(struct seq_file *m, const char *s) static void show_type(struct seq_file *m, struct super_block *sb) { mangle(m, sb->s_type->name); - if (sb->s_subtype && sb->s_subtype[0]) { + if (sb->s_subtype) { seq_putc(m, '.'); mangle(m, sb->s_subtype); }