[PATCH v5 12/24] erofs: introduce tagged pointer

Gao Xiang gaoxiang25 at huawei.com
Wed Jul 31 23:52:51 AEST 2019



On 2019/7/31 21:20, Gao Xiang wrote:
>    struct b *ptr = tagptr_unfold_tags(tptr);
> vs
>    struct b *ptr = (struct b *)((unsigned long)tptr & ~2);

Sorry ... a too stupid typo issue, I mean....

struct b *ptr = tagptr_unfold_ptr(tptr);
vs
struct b *ptr = (struct b *)((unsigned long)tptr & ~3);

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list