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

Commit 2decd65a authored by Jeff Liu's avatar Jeff Liu Committed by Joel Becker
Browse files

ocfs2: Avoid to evaluate xattr block flags again.



It was evaludated to indexed before, check it is ok i think.

Signed-off-by: default avatarJeff Liu <jeff.liu@oracle.com>
Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
parent fc371891
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7081,7 +7081,7 @@ static int ocfs2_reflink_xattr_in_block(struct ocfs2_xattr_reflink *args,
		goto out;
	}

	if (!(le16_to_cpu(xb->xb_flags) & OCFS2_XATTR_INDEXED))
	if (!indexed)
		ret = ocfs2_reflink_xattr_block(args, blk_bh, new_blk_bh);
	else
		ret = ocfs2_reflink_xattr_tree(args, blk_bh, new_blk_bh);