projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3566c96
)
GFS2: Eliminate a nonsense goto
author
Bob Peterson
<rpeterso@redhat.com>
Thu, 22 Jan 2015 16:11:55 +0000
(11:11 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 26 Jan 2015 20:58:54 +0000
(20:58 +0000)
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>
fs/gfs2/inode.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/inode.c
b/fs/gfs2/inode.c
index
9054002
..
73c7225
100644
(file)
--- 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);