Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64026
b: refs/heads/master
c: a867bb2
h: refs/heads/master
v: v3
  • Loading branch information
Steven Whitehouse committed Aug 14, 2007
1 parent b88befc commit d4bb8bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6eefaf61f664053c1dd6534a994cab3f8bb07263
refs/heads/master: a867bb28c1cb49ae86d034d8bd8fe6dbcbb19566
3 changes: 2 additions & 1 deletion trunk/fs/gfs2/ops_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ static int gfs2_prepare_write(struct file *file, struct page *page,

error = gfs2_trans_begin(sdp, rblocks, 0);
if (error)
goto out;
goto out_trans_fail;

if (gfs2_is_stuffed(ip)) {
if (end > sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode)) {
Expand All @@ -434,6 +434,7 @@ static int gfs2_prepare_write(struct file *file, struct page *page,
out:
if (error) {
gfs2_trans_end(sdp);
out_trans_fail:
if (alloc_required) {
gfs2_inplace_release(ip);
out_qunlock:
Expand Down

0 comments on commit d4bb8bf

Please sign in to comment.