From: "Pali Rohár" <pali@kernel.org>
To: Trond Myklebust <trondmy@kernel.org>, Anna Schumaker <anna@kernel.org>
Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 5/5] nfs: Remove duplicate debug message 'using auth flavor'
Date: Thu, 12 Sep 2024 15:02:20 +0200 [thread overview]
Message-ID: <20240912130220.17032-6-pali@kernel.org> (raw)
In-Reply-To: <20240912130220.17032-1-pali@kernel.org>
Function nfs_verify_authflavors() prints debug message 'using auth flavor'
on success. So not print same debug message after nfs_verify_authflavors()
call again.
Signed-off-by: Pali Rohár <pali@kernel.org>
---
fs/nfs/super.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 86d98d15ee22..be487118cedc 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -938,8 +938,6 @@ static struct nfs_server *nfs_try_mount_request(struct fs_context *fc)
*/
if (ctx->auth_info.flavor_len > 0) {
status = nfs_verify_authflavors(ctx, authlist, authlist_len);
- dfprintk(MOUNT, "NFS: using auth flavor %u\n",
- ctx->selected_flavor);
if (status)
return ERR_PTR(status);
return ctx->nfs_mod->rpc_ops->create_server(fc);
--
2.20.1
next prev parent reply other threads:[~2024-09-12 13:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-12 13:02 [PATCH 0/5] nfs: Fix mounting NFS3 AUTH_NULL exports Pali Rohár
2024-09-12 13:02 ` [PATCH 1/5] nfs: Fix support for NFS3 mount with -o sec=none from Linux MNTv3 server Pali Rohár
2024-09-12 13:02 ` [PATCH 2/5] nfs: Propagate AUTH_NULL/AUTH_UNIX PATHCONF NFS3ERR_ACCESS failures Pali Rohár
2024-09-12 13:02 ` [PATCH 3/5] nfs: Try to use AUTH_NULL for NFS3 mount when no -o sec was given Pali Rohár
2024-09-12 13:02 ` [PATCH 4/5] nfs: Fix -o sec=none output in /proc/mounts Pali Rohár
2024-09-12 13:02 ` Pali Rohár [this message]
2024-09-12 21:06 ` [PATCH 0/5] nfs: Fix mounting NFS3 AUTH_NULL exports Anna Schumaker
2024-09-12 21:11 ` Pali Rohár
2024-10-05 15:15 ` Pali Rohár
2024-10-28 9:54 ` Pali Rohár
2024-12-22 16:40 ` Pali Rohár
2025-04-18 18:03 ` Pali Rohár
2025-05-04 8:48 ` Pali Rohár
2025-05-18 9:57 ` Pali Rohár
2025-09-20 13:35 ` Pali Rohár
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=20240912130220.17032-6-pali@kernel.org \
--to=pali@kernel.org \
--cc=anna@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=trondmy@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox