Unverified Commit 9cf5f60a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14086 ocfs2: uncache inode which has failed entering the group

parents 62115cd2 6bc4046c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -568,6 +568,8 @@ int ocfs2_group_add(struct inode *inode, struct ocfs2_new_group_input *input)
	ocfs2_commit_trans(osb, handle);

out_free_group_bh:
	if (ret < 0)
		ocfs2_remove_from_cache(INODE_CACHE(inode), group_bh);
	brelse(group_bh);

out_unlock: