projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa6913d
)
ocfs2: clean up an unneeded goto in ocfs2_put_slot()
author
Guozhonghua
<
[email protected]
>
Fri, 20 May 2016 00:09:53 +0000
(17:09 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 20 May 2016 02:12:14 +0000
(19:12 -0700)
The goto is not useful in ocfs2_put_slot(), so delete it.
Signed-off-by: Guozhonghua <
[email protected]
>
Cc: Mark Fasheh <
[email protected]
>
Cc: Joel Becker <
[email protected]
>
Cc: Junxiao Bi <
[email protected]
>
Cc: Joseph Qi <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ocfs2/slot_map.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/slot_map.c
b/fs/ocfs2/slot_map.c
index 1e09592148ad2823c8b073ebe9c03b66c99e3366..d7407994f308076fbb8690f00419f5e663aa9bea 100644
(file)
--- a/
fs/ocfs2/slot_map.c
+++ b/
fs/ocfs2/slot_map.c
@@
-535,12
+535,8
@@
void ocfs2_put_slot(struct ocfs2_super *osb)
spin_unlock(&osb->osb_lock);
status = ocfs2_update_disk_slot(osb, si, slot_num);
- if (status < 0)
{
+ if (status < 0)
mlog_errno(status);
- goto bail;
- }
-bail:
ocfs2_free_slot_info(osb);
}
-