diff options
author | Bob Peterson <rpeterso@redhat.com> | 2015-01-22 17:11:55 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2015-01-26 21:58:54 +0100 |
commit | 45094a58b1f56fd5942545659f7c1829ae4520eb (patch) | |
tree | 6b4fc666ab39c6393362cef5d363bff86c57fc90 /fs/gfs2 | |
parent | GFS2: fix sprintf format specifier (diff) | |
download | linux-45094a58b1f56fd5942545659f7c1829ae4520eb.tar.xz linux-45094a58b1f56fd5942545659f7c1829ae4520eb.zip |
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>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); |