Received: by 10.223.164.202 with SMTP id h10csp2555686wrb; Sun, 19 Nov 2017 01:31:15 -0800 (PST) X-Google-Smtp-Source: AGs4zMZUwb5Kh87hYRzlIJP20uXQ8lT1hln2eqxte/KTCIHGJQZGtDGEd8zJas7OQtEfYhXN4odH X-Received: by 10.101.65.75 with SMTP id x11mr10008462pgp.388.1511083875032; Sun, 19 Nov 2017 01:31:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511083875; cv=none; d=google.com; s=arc-20160816; b=KwZo4mfxDON9pwOOfdZnEIbBXU0u1Is4UUiUB3mT7gG8ScZgdqSKGAVu//G/BEDx5y V3hVI3phSkeJHp6GyzTDJz9K4NxdQVub3iJhLHEjj5dLXJirbx+qoMDNgOBk9zRadY2J z4hvvQHHxDmUHsuPbBZLrjVAKOm54XyAwPXvnpbaokm+zVuFsf/ZWY0xyPTWbL+K2Azg O47bbqPtSqEhcUW6IJAmeKuDTIaZcUW5FTaBn9xaF/R3GmtZdwkrFjrH6DcSah0BwA0E jLoRUjke7+WR5AsdiYrSF0eKpIFg/UX0FQc4ZJqniBAFXAx6ph8cSrf27MQTLmfFWa4a hzfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=8jl8dlfR0hgj4ZxnX3fSirN5bXplY1u3R0wTRO79rA8=; b=pHNOkDcnUkSto4sep2ZASQA7yeWkUXdzjEL9mD78+8DWpQW0OMtOBfmmsBQJW806cH +GjjKP52fr4t/gzIEHBeb+T2S79D8sOlVPK2lzLsHlZoxvp6vsXHgU8OBVfGok0uFaQf F08g9hfn02IQhrtmbZc7zMTarS3TNwBHkLiO/Y/PV0R0uJuUCfPWcLi+rlVGnlRRxkln Mz5WTTmHgjoOAM0UDWWNod0Qry2KKo2bRmPGK2CBRdBMHySEqyLHpJ/+m459cHoL6VAf 8rCJGqjwqR9e3WIOARZH4ZpNHawhGI6m3/x+zztwbl+CrlmjSTtOaPQxrb5zAJaQdNG/ 1wog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si5783222pll.664.2017.11.19.01.30.44; Sun, 19 Nov 2017 01:31:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750954AbdKSJ3J (ORCPT + 73 others); Sun, 19 Nov 2017 04:29:09 -0500 Received: from mx1.mpynet.fi ([82.197.21.84]:49772 "EHLO mx1.mpynet.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750788AbdKSJ3G (ORCPT ); Sun, 19 Nov 2017 04:29:06 -0500 From: Tuomas Tynkkynen To: Al Viro CC: , Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , , , David Howells , Tuomas Tynkkynen , Subject: [PATCH] 9p: Fix missing commas in mount options Date: Sun, 19 Nov 2017 11:28:43 +0200 Message-ID: <20171119092843.8457-1-tuomas@tuxera.com> X-Mailer: git-send-email 2.15.0 MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: tuxera-exch.ad.tuxera.com (10.20.48.11) To tuxera-exch.ad.tuxera.com (10.20.48.11) Received-SPF: none Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit c4fac9100456 ("9p: Implement show_options"), the mount options of 9p filesystems are printed out with some missing commas between the individual options: p9-scratch on /mnt/scratch type 9p (rw,dirsync,loose,access=clienttrans=virtio) Add them back. Cc: stable@vger.kernel.org # 4.13+ Fixes: c4fac9100456 ("9p: Implement show_options") Signed-off-by: Tuomas Tynkkynen --- net/9p/client.c | 2 +- net/9p/trans_fd.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/9p/client.c b/net/9p/client.c index 4674235b0d9b..b2583ee2fbe9 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -82,7 +82,7 @@ int p9_show_client_options(struct seq_file *m, struct p9_client *clnt) { if (clnt->msize != 8192) seq_printf(m, ",msize=%u", clnt->msize); - seq_printf(m, "trans=%s", clnt->trans_mod->name); + seq_printf(m, ",trans=%s", clnt->trans_mod->name); switch (clnt->proto_version) { case p9_proto_legacy: diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index 903a190319b9..985046ae4231 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c @@ -724,12 +724,12 @@ static int p9_fd_show_options(struct seq_file *m, struct p9_client *clnt) { if (clnt->trans_mod == &p9_tcp_trans) { if (clnt->trans_opts.tcp.port != P9_PORT) - seq_printf(m, "port=%u", clnt->trans_opts.tcp.port); + seq_printf(m, ",port=%u", clnt->trans_opts.tcp.port); } else if (clnt->trans_mod == &p9_fd_trans) { if (clnt->trans_opts.fd.rfd != ~0) - seq_printf(m, "rfd=%u", clnt->trans_opts.fd.rfd); + seq_printf(m, ",rfd=%u", clnt->trans_opts.fd.rfd); if (clnt->trans_opts.fd.wfd != ~0) - seq_printf(m, "wfd=%u", clnt->trans_opts.fd.wfd); + seq_printf(m, ",wfd=%u", clnt->trans_opts.fd.wfd); } return 0; } -- 2.15.0 From 1584461139416096398@xxx Sun Nov 19 02:51:34 +0000 2017 X-GM-THRID: 1583479466458817125 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread