Skip to content

Commit

Permalink
GFS2: Eliminate a nonsense goto
Browse files Browse the repository at this point in the history
This patch just removes a goto that did nothing.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Bob Peterson authored and Steven Whitehouse committed Jan 26, 2015
1 parent 3566c96 commit 45094a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/gfs2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,10 +543,7 @@ static int link_dinode(struct gfs2_inode *dip, const struct qstr *name,
}

error = gfs2_dir_add(&dip->i_inode, name, ip, da);
if (error)
goto fail_end_trans;

fail_end_trans:
gfs2_trans_end(sdp);
fail_ipreserv:
gfs2_inplace_release(dip);
Expand Down

0 comments on commit 45094a5

Please sign in to comment.