ocfs2: fix undefined struct variable in inode.h
PATCH 11/127 ocfs2: fix undefined struct variable in inode.h
From: Joseph Qi <[email protected]>
Subject: ocfs2: fix undefined struct variable in inode.h
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 <[email protected]>
Reviewed-by Eric Ren <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Junxiao Bi <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ocfs2/inode.h | 2 -- 1 file changed, 2 deletions(-)
fs/ocfs2/inode.h renamed from fs/ocfs2/inode.h~ocfs2-fix-undefined-struct-variable-in-inodeh +0 -1
@@ -123,8 +123,6 @@ static inline struct ocfs2_inode_info *O#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;