|
@@ -472,7 +472,7 @@ static inline struct ocfs2_triggers *to_ocfs2_trigger(struct jbd2_buffer_trigger
|
|
|
return container_of(triggers, struct ocfs2_triggers, ot_triggers);
|
|
|
}
|
|
|
|
|
|
-static void ocfs2_commit_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
+static void ocfs2_frozen_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
struct buffer_head *bh,
|
|
|
void *data, size_t size)
|
|
|
{
|
|
@@ -491,7 +491,7 @@ static void ocfs2_commit_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
* Quota blocks have their own trigger because the struct ocfs2_block_check
|
|
|
* offset depends on the blocksize.
|
|
|
*/
|
|
|
-static void ocfs2_dq_commit_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
+static void ocfs2_dq_frozen_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
struct buffer_head *bh,
|
|
|
void *data, size_t size)
|
|
|
{
|
|
@@ -511,7 +511,7 @@ static void ocfs2_dq_commit_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
* Directory blocks also have their own trigger because the
|
|
|
* struct ocfs2_block_check offset depends on the blocksize.
|
|
|
*/
|
|
|
-static void ocfs2_db_commit_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
+static void ocfs2_db_frozen_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
struct buffer_head *bh,
|
|
|
void *data, size_t size)
|
|
|
{
|
|
@@ -544,7 +544,7 @@ static void ocfs2_abort_trigger(struct jbd2_buffer_trigger_type *triggers,
|
|
|
|
|
|
static struct ocfs2_triggers di_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
.ot_offset = offsetof(struct ocfs2_dinode, i_check),
|
|
@@ -552,7 +552,7 @@ static struct ocfs2_triggers di_triggers = {
|
|
|
|
|
|
static struct ocfs2_triggers eb_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
.ot_offset = offsetof(struct ocfs2_extent_block, h_check),
|
|
@@ -560,7 +560,7 @@ static struct ocfs2_triggers eb_triggers = {
|
|
|
|
|
|
static struct ocfs2_triggers rb_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
.ot_offset = offsetof(struct ocfs2_refcount_block, rf_check),
|
|
@@ -568,7 +568,7 @@ static struct ocfs2_triggers rb_triggers = {
|
|
|
|
|
|
static struct ocfs2_triggers gd_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
.ot_offset = offsetof(struct ocfs2_group_desc, bg_check),
|
|
@@ -576,14 +576,14 @@ static struct ocfs2_triggers gd_triggers = {
|
|
|
|
|
|
static struct ocfs2_triggers db_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_db_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_db_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
};
|
|
|
|
|
|
static struct ocfs2_triggers xb_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
.ot_offset = offsetof(struct ocfs2_xattr_block, xb_check),
|
|
@@ -591,14 +591,14 @@ static struct ocfs2_triggers xb_triggers = {
|
|
|
|
|
|
static struct ocfs2_triggers dq_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_dq_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_dq_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
};
|
|
|
|
|
|
static struct ocfs2_triggers dr_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
.ot_offset = offsetof(struct ocfs2_dx_root_block, dr_check),
|
|
@@ -606,7 +606,7 @@ static struct ocfs2_triggers dr_triggers = {
|
|
|
|
|
|
static struct ocfs2_triggers dl_triggers = {
|
|
|
.ot_triggers = {
|
|
|
- .t_commit = ocfs2_commit_trigger,
|
|
|
+ .t_frozen = ocfs2_frozen_trigger,
|
|
|
.t_abort = ocfs2_abort_trigger,
|
|
|
},
|
|
|
.ot_offset = offsetof(struct ocfs2_dx_leaf, dl_check),
|