From: Chuck Lever <chuck.lever@oracle.com>
To: linux-nfs@vger.kernel.org
Cc: Chuck Lever <chuck.lever@oracle.com>
Subject: [PATCH 01/11] mountd: remove unused variable
Date: Fri, 08 Mar 2013 14:46:12 -0500 [thread overview]
Message-ID: <20130308194612.5656.52628.stgit@seurat.1015granger.net> (raw)
In-Reply-To: <20130308193830.5656.44184.stgit@seurat.1015granger.net>
Clean up:
Making all in mountd
cache.c: In function ‘subexport’:
cache.c:374:9: warning: unused variable ‘l2’ [-Wunused-variable]
Commit 8e2fb3fc removed the last use of "l2" in the subexport()
function.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
utils/mountd/cache.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
index 45012be..c8aa46f 100644
--- a/utils/mountd/cache.c
+++ b/utils/mountd/cache.c
@@ -371,8 +371,6 @@ export_matches(nfs_export *exp, char *dom, char *path, struct addrinfo *ai)
static bool subexport(struct exportent *e1, struct exportent *e2)
{
char *p1 = e1->e_path, *p2 = e2->e_path;
- size_t l2 = strlen(p2);
-
return e2->e_flags & NFSEXP_CROSSMOUNT
&& is_subdirectory(p1, p2);
}
next prev parent reply other threads:[~2013-03-08 19:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 19:46 [PATCH 00/11] gssd clean-ups for nfs-utils Chuck Lever
2013-03-08 19:46 ` Chuck Lever [this message]
2013-03-08 19:46 ` [PATCH 02/11] mountd: make local functions in v4root.c static Chuck Lever
2013-03-08 19:46 ` [PATCH 03/11] gssd: Use italics for option values and pathnames Chuck Lever
2013-03-08 19:46 ` [PATCH 04/11] gssd: gssd.man is missing a description of the "-M" option Chuck Lever
2013-03-08 19:46 ` [PATCH 05/11] gssd: Provide an introduction in gssd(8) Chuck Lever
2013-03-08 19:46 ` [PATCH 06/11] gssd: Clarify use of the term "machine credentials" in rpc.gssd(8) Chuck Lever
2013-03-08 19:47 ` [PATCH 07/11] gssd: Update description of "-l" option Chuck Lever
2013-03-08 19:47 ` [PATCH 08/11] rpc.gssd: Clean up gssd_setup_krb5_user_gss_ccache() Chuck Lever
2013-03-11 12:02 ` Jeff Layton
2013-03-12 20:04 ` Chuck Lever
2013-03-08 19:47 ` [PATCH 09/11] gssd: Fix whitespace nits Chuck Lever
2013-03-08 19:47 ` [PATCH 10/11] gssd: gethostname(3) returns zero or -1, not an errno Chuck Lever
2013-03-08 19:47 ` [PATCH 11/11] gssd: Add "-c" command line option Chuck Lever
2013-03-11 17:58 ` J. Bruce Fields
2013-03-11 17:59 ` J. Bruce Fields
2013-03-12 19:05 ` Chuck Lever
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=20130308194612.5656.52628.stgit@seurat.1015granger.net \
--to=chuck.lever@oracle.com \
--cc=linux-nfs@vger.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;
as well as URLs for NNTP newsgroup(s).