X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fproc_namespace.c;h=87645955990d15a9df03df7b0c4b4b82100f1543;hb=9d201a0303e571bfb82cb680f9dda32505d7faf6;hp=8ebd9a3340852823b17f61af59f4dd6a65f1b35f;hpb=fa78ceab99e4481e17ab6b6a88257c1c7c23d55a;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c index 8ebd9a334085..87645955990d 100644 --- a/fs/proc_namespace.c +++ b/fs/proc_namespace.c @@ -197,6 +197,8 @@ static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) if (sb->s_op->show_devname) { seq_puts(m, "device "); err = sb->s_op->show_devname(m, mnt_path.dentry); + if (err) + goto out; } else { if (r->mnt_devname) { seq_puts(m, "device ");