projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/fs/gfs2/inode.c
b/fs/gfs2/inode.c
index 9054002ebe70dceb3b1483be3fbd54ea15f2e06a..73c72253faac07f2918c08e5e20438d148160f7e 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);