From: Dilger, Andreas <andreas.dilger@intel.com>
To: lustre-devel@lists.lustre.org
Subject: [lustre-devel] [PATCH 1/3] staging: lustre: add shared variables to the header
Date: Wed, 23 Sep 2015 13:13:45 +0000 [thread overview]
Message-ID: <D22870E4.10CD03%andreas.dilger@intel.com> (raw)
In-Reply-To: <1442958043-15015-1-git-send-email-anton.gerasimov@openmailbox.org>
On 2015/09/22, 11:40 PM, "Anton Gerasimov"
<anton.gerasimov@openmailbox.org> wrote:
>This patch adds declarations for variables used in several files
>across the ptlrpc module to the local header.
>
>Signed-off-by: Anton Gerasimov <anton.gerasimov@openmailbox.org>
>---
> drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
>diff --git a/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h
>b/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h
>index 34c7e28..4e35b14 100644
>--- a/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h
>+++ b/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h
>@@ -47,6 +47,10 @@ struct ldlm_res_id;
> struct ptlrpc_request_set;
> extern int test_req_buffer_pressure;
> extern struct mutex ptlrpc_all_services_mutex;
>+extern struct list_head ptlrpc_all_services;
>+
>+extern struct mutex ptlrpcd_mutex;
>+extern struct mutex pinger_mutex;
Your patch adds these declarations to ptlrpc_internal.h but it doesn't
remove the corresponding "extern" declaration lines from the .c files.
Could you please remove these (now redundant) lines and resubmit the
patch.
Cheers, Andreas
>
> int ptlrpc_start_thread(struct ptlrpc_service_part *svcpt, int wait);
> /* ptlrpcd.c */
>@@ -110,6 +114,8 @@ struct nrs_core {
>
> };
>
>+extern struct nrs_core nrs_core;
>+
> int ptlrpc_service_nrs_setup(struct ptlrpc_service *svc);
> void ptlrpc_service_nrs_cleanup(struct ptlrpc_service *svc);
>
>--
>2.5.1
>
>
Cheers, Andreas
--
Andreas Dilger
Lustre Software Architect
Intel High Performance Data Division
next prev parent reply other threads:[~2015-09-23 13:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-22 21:35 [lustre-devel] [PATCH 0/3] staging: lustre: fix (non-)static symbols issues Anton Gerasimov
2015-09-22 21:40 ` [lustre-devel] [PATCH 1/3] staging: lustre: add shared variables to the header Anton Gerasimov
2015-09-23 13:13 ` Dilger, Andreas [this message]
2015-09-22 21:41 ` [lustre-devel] [PATCH 2/3] staging: lustre: include header with local ptlrpc declarations Anton Gerasimov
2015-09-22 21:41 ` [lustre-devel] [PATCH 3/3] staging: lustre: make non-exported functions static Anton Gerasimov
-- strict thread matches above, loose matches on Subject: below --
2015-09-22 22:24 [lustre-devel] [PATCH 1/3] staging: lustre: add shared variables to the header Anton Gerasimov
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=D22870E4.10CD03%andreas.dilger@intel.com \
--to=andreas.dilger@intel.com \
--cc=lustre-devel@lists.lustre.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 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.