* [PATCH] gfs2/inode.c: local functions should be static
@ 2011-09-23 22:51 H Hartley Sweeten
2011-09-26 8:27 ` Steven Whitehouse
0 siblings, 1 reply; 4+ messages in thread
From: H Hartley Sweeten @ 2011-09-23 22:51 UTC (permalink / raw)
To: Linux Kernel; +Cc: cluster-devel, swhiteho
Quiets the sparse noise:
warning: symbol 'gfs2_initxattrs' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
---
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 5431de9..5f2b157 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -624,7 +624,7 @@ fail:
return error;
}
-int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
+static int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
void *fs_info)
{
const struct xattr *xattr;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gfs2/inode.c: local functions should be static
2011-09-23 22:51 [PATCH] gfs2/inode.c: local functions should be static H Hartley Sweeten
@ 2011-09-26 8:27 ` Steven Whitehouse
2011-09-26 16:54 ` H Hartley Sweeten
0 siblings, 1 reply; 4+ messages in thread
From: Steven Whitehouse @ 2011-09-26 8:27 UTC (permalink / raw)
To: H Hartley Sweeten; +Cc: Linux Kernel, cluster-devel
Hi,
On Fri, 2011-09-23 at 15:51 -0700, H Hartley Sweeten wrote:
> Quiets the sparse noise:
>
> warning: symbol 'gfs2_initxattrs' was not declared. Should it be static?
>
Where did you find this function? It is not in the upstream gfs2 code...
Steve.
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Steven Whitehouse <swhiteho@redhat.com>
>
> ---
>
> diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
> index 5431de9..5f2b157 100644
> --- a/fs/gfs2/inode.c
> +++ b/fs/gfs2/inode.c
> @@ -624,7 +624,7 @@ fail:
> return error;
> }
>
> -int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
> +static int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
> void *fs_info)
> {
> const struct xattr *xattr;
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] gfs2/inode.c: local functions should be static
2011-09-26 8:27 ` Steven Whitehouse
@ 2011-09-26 16:54 ` H Hartley Sweeten
2011-09-26 18:37 ` Steven Whitehouse
0 siblings, 1 reply; 4+ messages in thread
From: H Hartley Sweeten @ 2011-09-26 16:54 UTC (permalink / raw)
To: Steven Whitehouse; +Cc: Linux Kernel, cluster-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 884 bytes --]
On Monday, September 26, 2011 1:28 AM, Steven Whitehouse wrote:
> Hi,
>
> On Fri, 2011-09-23 at 15:51 -0700, H Hartley Sweeten wrote:
>> Quiets the sparse noise:
>>
>> warning: symbol 'gfs2_initxattrs' was not declared. Should it be static?
>>
> Where did you find this function? It is not in the upstream gfs2 code...
linux-next next-20110831
This was the last update I pulled before git.kernel.org went down.
It looks like it was added by:
commit 9d8f13ba3f4833219e50767b022b82cd0da930eb
Author: Mimi Zohar <zohar@linux.vnet.ibm.com>
Date: Mon Jun 6 15:29:25 2011 -0400
security: new security_inode_init_security API adds function callback
If this has been removed since then please ignore.
Thanks,
Hartley
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] gfs2/inode.c: local functions should be static
2011-09-26 16:54 ` H Hartley Sweeten
@ 2011-09-26 18:37 ` Steven Whitehouse
0 siblings, 0 replies; 4+ messages in thread
From: Steven Whitehouse @ 2011-09-26 18:37 UTC (permalink / raw)
To: H Hartley Sweeten; +Cc: Linux Kernel, cluster-devel
Hi,
On Mon, 2011-09-26 at 11:54 -0500, H Hartley Sweeten wrote:
> On Monday, September 26, 2011 1:28 AM, Steven Whitehouse wrote:
> > Hi,
> >
> > On Fri, 2011-09-23 at 15:51 -0700, H Hartley Sweeten wrote:
> >> Quiets the sparse noise:
> >>
> >> warning: symbol 'gfs2_initxattrs' was not declared. Should it be static?
> >>
> > Where did you find this function? It is not in the upstream gfs2 code...
>
> linux-next next-20110831
>
> This was the last update I pulled before git.kernel.org went down.
>
> It looks like it was added by:
>
> commit 9d8f13ba3f4833219e50767b022b82cd0da930eb
> Author: Mimi Zohar <zohar@linux.vnet.ibm.com>
> Date: Mon Jun 6 15:29:25 2011 -0400
>
> security: new security_inode_init_security API adds function callback
>
> If this has been removed since then please ignore.
>
> Thanks,
> Hartley
I think it is a question of it not yet being added. You should send the
patch to Mimi so it is included in the correct patch series. Otherwise
remind me when the code is applies against is merged and I'll look at it
again then,
Steve.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-26 18:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 22:51 [PATCH] gfs2/inode.c: local functions should be static H Hartley Sweeten
2011-09-26 8:27 ` Steven Whitehouse
2011-09-26 16:54 ` H Hartley Sweeten
2011-09-26 18:37 ` Steven Whitehouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®