/* 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, struct buffer_head *bh, void *data, size_t size)
/* 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, struct buffer_head *bh, void *data, size_t size)
{
	struct ocfs2_dir_block_trailer *trailer =
		ocfs2_dir_trailer_from_size(size, data);
	ocfs2_block_check_compute(data, size, &trailer->db_check);
}