*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU General Public License v.2.
+ * of the GNU General Public License version 2.
*/
#include <linux/sched.h>
return error;
- fail:
+fail:
gfs2_consist_inode(ip);
return -EIO;
}
if (error)
break;
}
- out:
+out:
brelse(bh);
-
return error;
}
gfs2_trans_end(sdp);
- out_gunlock:
+out_gunlock:
gfs2_glock_dq_uninit(&rg_gh);
-
return error;
}
gfs2_glock_dq_uninit(&al->al_ri_gh);
- out_quota:
+out_quota:
gfs2_quota_unhold(ip);
-
- out_alloc:
+out_alloc:
gfs2_alloc_put(ip);
-
return error;
}
brelse(bh[x]);
}
- out:
+out:
kfree(bh);
-
return error;
}
brelse(dibh);
}
- out_end_trans:
+out_end_trans:
gfs2_trans_end(GFS2_SB(&ip->i_inode));
-
- out_ipres:
+out_ipres:
gfs2_inplace_release(ip);
-
- out_gunlock_q:
+out_gunlock_q:
gfs2_quota_unlock(ip);
-
- out:
+out:
gfs2_alloc_put(ip);
-
return error;
}
gfs2_trans_add_bh(ip->i_gl, dibh, 1);
gfs2_dinode_out(&ip->i_di, dibh->b_data);
brelse(dibh);
- out:
+out:
gfs2_trans_end(GFS2_SB(&ip->i_inode));
-
return error;
}
if (private)
ea_set_remove_stuffed(ip, (struct gfs2_ea_location *)private);
- out:
+out:
brelse(indbh);
-
return error;
}
brelse(bh[x]);
}
- out:
+out:
kfree(bh);
-
return error;
- fail:
+fail:
gfs2_trans_end(sdp);
kfree(bh);
-
return error;
}
gfs2_trans_end(sdp);
- out_gunlock:
+out_gunlock:
gfs2_glock_dq_m(rlist.rl_rgrps, rlist.rl_ghs);
-
- out_rlist_free:
+out_rlist_free:
gfs2_rlist_free(&rlist);
-
- out:
+out:
brelse(indbh);
-
return error;
}
gfs2_trans_end(sdp);
- out_gunlock:
+out_gunlock:
gfs2_glock_dq_uninit(&al->al_rgd_gh);
-
return error;
}
error = ea_dealloc_block(ip);
- out_rindex:
+out_rindex:
gfs2_glock_dq_uninit(&al->al_ri_gh);
-
- out_quota:
+out_quota:
gfs2_quota_unhold(ip);
-
- out_alloc:
+out_alloc:
gfs2_alloc_put(ip);
-
return error;
}