From 45094a58b1f56fd5942545659f7c1829ae4520eb Mon Sep 17 00:00:00 2001 From: Bob Peterson Date: Thu, 22 Jan 2015 11:11:55 -0500 Subject: GFS2: Eliminate a nonsense goto This patch just removes a goto that did nothing. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- fs/gfs2/inode.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'fs/gfs2') diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 9054002ebe70..73c72253faac 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c @@ -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); -- cgit v1.2.3