All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH] ocfs2:Make the function ocfs2_initxattrs static
@ 2015-06-23 23:48 Nicholas Krause
  2015-06-24  0:36   ` Joseph Qi
  0 siblings, 1 reply; 3+ messages in thread
From: Nicholas Krause @ 2015-06-23 23:48 UTC (permalink / raw)
  To: ocfs2-devel

This makes the function ocfs2_initxattrs static now due
to this function's only caller being in its own declaration
and definition file of xattr.c.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
---
 fs/ocfs2/xattr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
index d03bfbf..889f379 100644
--- a/fs/ocfs2/xattr.c
+++ b/fs/ocfs2/xattr.c
@@ -7271,7 +7271,7 @@ static int ocfs2_xattr_security_set(struct dentry *dentry, const char *name,
 			       name, value, size, flags);
 }
 
-int ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
+static int ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
 		     void *fs_info)
 {
 	const struct xattr *xattr;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Ocfs2-devel] [PATCH] ocfs2:Make the function ocfs2_initxattrs static
  2015-06-23 23:48 [Ocfs2-devel] [PATCH] ocfs2:Make the function ocfs2_initxattrs static Nicholas Krause
@ 2015-06-24  0:36   ` Joseph Qi
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Qi @ 2015-06-24  0:36 UTC (permalink / raw)
  To: Nicholas Krause; +Cc: mfasheh, ocfs2-devel, linux-kernel

Hi Nicholas,
It has already been staged as a part of the patch "ocfs2: mark local
functions as static" in the -mm tree.
Thanks all the same.

--
Joseph

On 2015/6/24 7:48, Nicholas Krause wrote:
> This makes the function ocfs2_initxattrs static now due
> to this function's only caller being in its own declaration
> and definition file of xattr.c.
> 
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
>  fs/ocfs2/xattr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
> index d03bfbf..889f379 100644
> --- a/fs/ocfs2/xattr.c
> +++ b/fs/ocfs2/xattr.c
> @@ -7271,7 +7271,7 @@ static int ocfs2_xattr_security_set(struct dentry *dentry, const char *name,
>  			       name, value, size, flags);
>  }
>  
> -int ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
> +static int ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
>  		     void *fs_info)
>  {
>  	const struct xattr *xattr;
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Ocfs2-devel] [PATCH] ocfs2:Make the function ocfs2_initxattrs static
@ 2015-06-24  0:36   ` Joseph Qi
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Qi @ 2015-06-24  0:36 UTC (permalink / raw)
  To: Nicholas Krause; +Cc: mfasheh, ocfs2-devel, linux-kernel

Hi Nicholas,
It has already been staged as a part of the patch "ocfs2: mark local
functions as static" in the -mm tree.
Thanks all the same.

--
Joseph

On 2015/6/24 7:48, Nicholas Krause wrote:
> This makes the function ocfs2_initxattrs static now due
> to this function's only caller being in its own declaration
> and definition file of xattr.c.
> 
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
>  fs/ocfs2/xattr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
> index d03bfbf..889f379 100644
> --- a/fs/ocfs2/xattr.c
> +++ b/fs/ocfs2/xattr.c
> @@ -7271,7 +7271,7 @@ static int ocfs2_xattr_security_set(struct dentry *dentry, const char *name,
>  			       name, value, size, flags);
>  }
>  
> -int ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
> +static int ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
>  		     void *fs_info)
>  {
>  	const struct xattr *xattr;
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-24  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-23 23:48 [Ocfs2-devel] [PATCH] ocfs2:Make the function ocfs2_initxattrs static Nicholas Krause
2015-06-24  0:36 ` Joseph Qi
2015-06-24  0:36   ` Joseph Qi

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.