Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f9b1802 authored by Guozhonghua's avatar Guozhonghua Committed by Linus Torvalds
Browse files

ocfs2: clean up an unneeded goto in ocfs2_put_slot()



The goto is not useful in ocfs2_put_slot(), so delete it.

Signed-off-by: default avatarGuozhonghua <guozhonghua@h3c.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent aa6913db
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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);
}