All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH] ocfs2: fix undefined struct variable in inode.h
@ 2016-09-21  1:38 Joseph Qi
  2016-09-22  1:13 ` Eric Ren
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Qi @ 2016-09-21  1:38 UTC (permalink / raw)
  To: ocfs2-devel

The extern struct variable ocfs2_inode_cache is not defined. It meant to
use ocfs2_inode_cachep defined in super.c, I think. Fortunately it is
not used anywhere now, so no impact actually. Clean it up to fix this
mistake.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
---
 fs/ocfs2/inode.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h
index 50cc550..5af68fc 100644
--- a/fs/ocfs2/inode.h
+++ b/fs/ocfs2/inode.h
@@ -123,8 +123,6 @@ static inline struct ocfs2_inode_info *OCFS2_I(struct inode *inode)
 #define INODE_JOURNAL(i) (OCFS2_I(i)->ip_flags & OCFS2_INODE_JOURNAL)
 #define SET_INODE_JOURNAL(i) (OCFS2_I(i)->ip_flags |= OCFS2_INODE_JOURNAL)

-extern struct kmem_cache *ocfs2_inode_cache;
-
 extern const struct address_space_operations ocfs2_aops;
 extern const struct ocfs2_caching_operations ocfs2_inode_caching_ops;

-- 
1.8.4.3

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

* [Ocfs2-devel] [PATCH] ocfs2: fix undefined struct variable in inode.h
  2016-09-21  1:38 [Ocfs2-devel] [PATCH] ocfs2: fix undefined struct variable in inode.h Joseph Qi
@ 2016-09-22  1:13 ` Eric Ren
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Ren @ 2016-09-22  1:13 UTC (permalink / raw)
  To: ocfs2-devel

Hi,

On 09/21/2016 09:38 AM, Joseph Qi wrote:
> The extern struct variable ocfs2_inode_cache is not defined. It meant to
> use ocfs2_inode_cachep defined in super.c, I think. Fortunately it is
> not used anywhere now, so no impact actually. Clean it up to fix this
> mistake.
>
> Signed-off-by: Joseph Qi <joseph.qi@huawei.com>

LGTM
Reviewed-by: Eric Ren<zren@suse.com>

> ---
>   fs/ocfs2/inode.h | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h
> index 50cc550..5af68fc 100644
> --- a/fs/ocfs2/inode.h
> +++ b/fs/ocfs2/inode.h
> @@ -123,8 +123,6 @@ static inline struct ocfs2_inode_info *OCFS2_I(struct inode *inode)
>   #define INODE_JOURNAL(i) (OCFS2_I(i)->ip_flags & OCFS2_INODE_JOURNAL)
>   #define SET_INODE_JOURNAL(i) (OCFS2_I(i)->ip_flags |= OCFS2_INODE_JOURNAL)
>
> -extern struct kmem_cache *ocfs2_inode_cache;
> -
>   extern const struct address_space_operations ocfs2_aops;
>   extern const struct ocfs2_caching_operations ocfs2_inode_caching_ops;
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20160922/d0acd4f0/attachment.html 

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

end of thread, other threads:[~2016-09-22  1:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-21  1:38 [Ocfs2-devel] [PATCH] ocfs2: fix undefined struct variable in inode.h Joseph Qi
2016-09-22  1:13 ` Eric Ren

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.