ocfs2: remove unused ocfs2_journal_handle field
max_buffs was just being set and not actually used.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index fd9734d..e26cd0c 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -124,7 +124,6 @@
return NULL;
}
- retval->max_buffs = 0;
retval->num_locks = 0;
retval->k_handle = NULL;
@@ -172,8 +171,6 @@
goto done_free;
}
- handle->max_buffs = max_buffs;
-
down_read(&osb->journal->j_trans_barrier);
/* actually start the transaction now */
@@ -353,9 +350,7 @@
mlog_errno(status);
goto bail;
}
- handle->max_buffs = nblocks;
- } else
- handle->max_buffs += nblocks;
+ }
status = 0;
bail: