/* gfs2_meta_sync - Sync all buffers associated with a glock @gl: The glock  */
void gfs2_meta_sync(struct gfs2_glock *gl)
/* gfs2_meta_sync - Sync all buffers associated with a glock @gl: The glock  */
void gfs2_meta_sync(struct gfs2_glock *gl)
{
	struct address_space *mapping = gl->gl_aspace->i_mapping;
	int error;
	filemap_fdatawrite(mapping);
	error = filemap_fdatawait(mapping);
	if (error)
		gfs2_io_error(gl->gl_sbd);
}