commit | 45094a58b1f56fd5942545659f7c1829ae4520eb | [log] [tgz] |
---|---|---|
author | Bob Peterson <rpeterso@redhat.com> | Thu Jan 22 11:11:55 2015 -0500 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Mon Jan 26 20:58:54 2015 +0000 |
tree | 6b4fc666ab39c6393362cef5d363bff86c57fc90 | |
parent | 3566c964767811f3965979fa9598027b6550026d [diff] |
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>
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 9054002..73c72253 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c
@@ -543,10 +543,7 @@ } 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);