/* gfs2_io_error_i - Flag an I/O error and withdraw Returns: -1 if this call withdrew the machine, 0 if it was already withdrawn  */
int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, unsigned int line)
/* gfs2_io_error_i - Flag an I/O error and withdraw Returns: -1 if this call withdrew the machine, 0 if it was already withdrawn  */
int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, unsigned int line)
{
	int rv;
	rv = gfs2_lm_withdraw(sdp,
		"GFS2: fsid=%s: fatal: I/O error\n"
		"GFS2: fsid=%s:   function = %s, file = %s, line = %u\n",
		sdp->sd_fsname,
		sdp->sd_fsname, function, file, line);
	return rv;
}