mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
GFS2: Eliminate a nonsense goto
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>
This commit is contained in:
parent
3566c96476
commit
45094a58b1
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue