Commit 45094a58 authored by Bob Peterson's avatar Bob Peterson Committed by Steven Whitehouse

GFS2: Eliminate a nonsense goto


This patch just removes a goto that did nothing.
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 3566c964
...@@ -543,10 +543,7 @@ static int link_dinode(struct gfs2_inode *dip, const struct qstr *name, ...@@ -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); error = gfs2_dir_add(&dip->i_inode, name, ip, da);
if (error)
goto fail_end_trans;
fail_end_trans:
gfs2_trans_end(sdp); gfs2_trans_end(sdp);
fail_ipreserv: fail_ipreserv:
gfs2_inplace_release(dip); gfs2_inplace_release(dip);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment