Loading fs/ocfs2/journal.c +1 −6 Original line number Diff line number Diff line Loading @@ -124,7 +124,6 @@ struct ocfs2_journal_handle *ocfs2_alloc_handle(struct ocfs2_super *osb) return NULL; } retval->max_buffs = 0; retval->num_locks = 0; retval->k_handle = NULL; Loading Loading @@ -172,8 +171,6 @@ struct ocfs2_journal_handle *ocfs2_start_trans(struct ocfs2_super *osb, goto done_free; } handle->max_buffs = max_buffs; down_read(&osb->journal->j_trans_barrier); /* actually start the transaction now */ Loading Loading @@ -353,9 +350,7 @@ int ocfs2_extend_trans(struct ocfs2_journal_handle *handle, mlog_errno(status); goto bail; } handle->max_buffs = nblocks; } else handle->max_buffs += nblocks; } status = 0; bail: Loading fs/ocfs2/journal.h +0 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,6 @@ struct ocfs2_journal_handle { handle_t *k_handle; /* kernel handle. */ struct ocfs2_journal *journal; u32 flags; /* see flags below. */ int max_buffs; /* Buffs reserved by this handle */ /* The following two fields are for ocfs2_handle_add_lock */ int num_locks; Loading Loading
fs/ocfs2/journal.c +1 −6 Original line number Diff line number Diff line Loading @@ -124,7 +124,6 @@ struct ocfs2_journal_handle *ocfs2_alloc_handle(struct ocfs2_super *osb) return NULL; } retval->max_buffs = 0; retval->num_locks = 0; retval->k_handle = NULL; Loading Loading @@ -172,8 +171,6 @@ struct ocfs2_journal_handle *ocfs2_start_trans(struct ocfs2_super *osb, goto done_free; } handle->max_buffs = max_buffs; down_read(&osb->journal->j_trans_barrier); /* actually start the transaction now */ Loading Loading @@ -353,9 +350,7 @@ int ocfs2_extend_trans(struct ocfs2_journal_handle *handle, mlog_errno(status); goto bail; } handle->max_buffs = nblocks; } else handle->max_buffs += nblocks; } status = 0; bail: Loading
fs/ocfs2/journal.h +0 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,6 @@ struct ocfs2_journal_handle { handle_t *k_handle; /* kernel handle. */ struct ocfs2_journal *journal; u32 flags; /* see flags below. */ int max_buffs; /* Buffs reserved by this handle */ /* The following two fields are for ocfs2_handle_add_lock */ int num_locks; Loading