/* Read or write a metadata area. Remembering to skip the first chunk which holds the header.  */
static int area_io(struct pstore *ps, int rw)
/* Read or write a metadata area. Remembering to skip the first chunk which holds the header.  */
static int area_io(struct pstore *ps, int rw)
{
	int r;
	chunk_t chunk;
	chunk = area_location(ps, ps->current_area);
	r = chunk_io(ps, ps->area, chunk, rw, 0);
	if (r)
		return r;
	return 0;
}