浏览代码

ocfs2: remove ocfs2_journal_handle journal field

It is no longer used.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Mark Fasheh 18 年之前
父节点
当前提交
dae85832ff
共有 2 个文件被更改,包括 0 次插入3 次删除
  1. 0 2
      fs/ocfs2/journal.c
  2. 0 1
      fs/ocfs2/journal.h

+ 0 - 2
fs/ocfs2/journal.c

@@ -122,8 +122,6 @@ static struct ocfs2_journal_handle *ocfs2_alloc_handle(struct ocfs2_super *osb)
 	}
 	}
 	retval->k_handle = NULL;
 	retval->k_handle = NULL;
 
 
-	retval->journal = osb->journal;
-
 	return retval;
 	return retval;
 }
 }
 
 

+ 0 - 1
fs/ocfs2/journal.h

@@ -135,7 +135,6 @@ static inline void ocfs2_inode_set_new(struct ocfs2_super *osb,
 
 
 struct ocfs2_journal_handle {
 struct ocfs2_journal_handle {
 	handle_t            *k_handle; /* kernel handle.                */
 	handle_t            *k_handle; /* kernel handle.                */
-	struct ocfs2_journal        *journal;
 };
 };
 
 
 /* Exported only for the journal struct init code in super.c. Do not call. */
 /* Exported only for the journal struct init code in super.c. Do not call. */