From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [2.6 patch] make gfs2_glock_hold() static
Date: Tue, 29 Jan 2008 08:37:18 +0000 [thread overview]
Message-ID: <1201595838.22038.324.camel@quoit> (raw)
In-Reply-To: <20080128221134.GZ8767@does.not.exist>
Hi,
Now in the GFS2 -nmw git tree. Thanks,
Steve.
On Tue, 2008-01-29 at 00:11 +0200, Adrian Bunk wrote:
> gfs2_glock_hold() can now become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> fs/gfs2/glock.c | 2 +-
> fs/gfs2/glock.h | 1 -
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> f04fbd054a051a564a3138e0e02b7423acf45a06
> diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
> index 80e09c5..e18f251 100644
> --- a/fs/gfs2/glock.c
> +++ b/fs/gfs2/glock.c
> @@ -197,7 +197,7 @@ static void glock_free(struct gfs2_glock *gl)
> *
> */
>
> -void gfs2_glock_hold(struct gfs2_glock *gl)
> +static void gfs2_glock_hold(struct gfs2_glock *gl)
> {
> atomic_inc(&gl->gl_ref);
> }
> diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h
> index b16f604..0724076 100644
> --- a/fs/gfs2/glock.h
> +++ b/fs/gfs2/glock.h
> @@ -77,7 +77,6 @@ static inline int gfs2_glock_is_blocking(struct gfs2_glock *gl)
> int gfs2_glock_get(struct gfs2_sbd *sdp,
> u64 number, const struct gfs2_glock_operations *glops,
> int create, struct gfs2_glock **glp);
> -void gfs2_glock_hold(struct gfs2_glock *gl);
> int gfs2_glock_put(struct gfs2_glock *gl);
> void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, unsigned flags,
> struct gfs2_holder *gh);
>
WARNING: multiple messages have this Message-ID (diff)
From: Steven Whitehouse <swhiteho@redhat.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: cluster-devel@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] make gfs2_glock_hold() static
Date: Tue, 29 Jan 2008 08:37:18 +0000 [thread overview]
Message-ID: <1201595838.22038.324.camel@quoit> (raw)
In-Reply-To: <20080128221134.GZ8767@does.not.exist>
Hi,
Now in the GFS2 -nmw git tree. Thanks,
Steve.
On Tue, 2008-01-29 at 00:11 +0200, Adrian Bunk wrote:
> gfs2_glock_hold() can now become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> fs/gfs2/glock.c | 2 +-
> fs/gfs2/glock.h | 1 -
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> f04fbd054a051a564a3138e0e02b7423acf45a06
> diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
> index 80e09c5..e18f251 100644
> --- a/fs/gfs2/glock.c
> +++ b/fs/gfs2/glock.c
> @@ -197,7 +197,7 @@ static void glock_free(struct gfs2_glock *gl)
> *
> */
>
> -void gfs2_glock_hold(struct gfs2_glock *gl)
> +static void gfs2_glock_hold(struct gfs2_glock *gl)
> {
> atomic_inc(&gl->gl_ref);
> }
> diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h
> index b16f604..0724076 100644
> --- a/fs/gfs2/glock.h
> +++ b/fs/gfs2/glock.h
> @@ -77,7 +77,6 @@ static inline int gfs2_glock_is_blocking(struct gfs2_glock *gl)
> int gfs2_glock_get(struct gfs2_sbd *sdp,
> u64 number, const struct gfs2_glock_operations *glops,
> int create, struct gfs2_glock **glp);
> -void gfs2_glock_hold(struct gfs2_glock *gl);
> int gfs2_glock_put(struct gfs2_glock *gl);
> void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, unsigned flags,
> struct gfs2_holder *gh);
>
next prev parent reply other threads:[~2008-01-29 8:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 22:11 [Cluster-devel] [2.6 patch] make gfs2_glock_hold() static Adrian Bunk
2008-01-28 22:11 ` Adrian Bunk
2008-01-29 8:37 ` Steven Whitehouse [this message]
2008-01-29 8:37 ` Steven Whitehouse
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=1201595838.22038.324.camel@quoit \
--to=swhiteho@redhat.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.