All of lore.kernel.org
 help / color / mirror / Atom feed
From: Weng Meiling <wengmeiling.weng@huawei.com>
To: <linux-nfs@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <bfields@fieldses.org>,
	Li Zefan <lizefan@huawei.com>
Subject: [PATCH] nfsd:add '\n' when read file supported_krb5_enctypes
Date: Fri, 8 Nov 2013 15:23:28 +0800	[thread overview]
Message-ID: <527C9170.9030005@huawei.com> (raw)
In-Reply-To: <52786412.5030403@huawei.com>


From: Weng Meiling <wengmeiling.weng@huawei.com>

Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.com>
---
 fs/nfsd/nfsctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index 7f55517..31db42c 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -188,7 +188,7 @@ static const struct file_operations export_features_operations = {
 #if defined(CONFIG_SUNRPC_GSS) || defined(CONFIG_SUNRPC_GSS_MODULE)
 static int supported_enctypes_show(struct seq_file *m, void *v)
 {
-	seq_printf(m, KRB5_SUPPORTED_ENCTYPES);
+	seq_printf(m, "%s\n", KRB5_SUPPORTED_ENCTYPES);
 	return 0;
 }

-- 
1.8.3.1





       reply	other threads:[~2013-11-08  7:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52786412.5030403@huawei.com>
2013-11-08  7:23 ` Weng Meiling [this message]
2013-11-13 16:09   ` [PATCH] nfsd:add '\n' when read file supported_krb5_enctypes J. Bruce Fields
2013-11-14 12:38     ` Weng Meiling
2013-11-14 13:25       ` J. Bruce Fields
2013-11-15  0:32         ` Weng Meiling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527C9170.9030005@huawei.com \
    --to=wengmeiling.weng@huawei.com \
    --cc=bfields@fieldses.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=lizefan@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.