[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e2f2c550-8d1f-39f5-3bd9-b6de996da9ad@huawei.com>
Date: Wed, 31 Jul 2019 21:52:51 +0800
From: Gao Xiang <gaoxiang25@...wei.com>
To: Jan Kara <jack@...e.cz>
CC: Alexander Viro <viro@...iv.linux.org.uk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Theodore Ts'o <tytso@....edu>,
"David Sterba" <dsterba@...e.cz>,
Amir Goldstein <amir73il@...il.com>,
"Christoph Hellwig" <hch@...radead.org>,
"Darrick J . Wong" <darrick.wong@...cle.com>,
Dave Chinner <david@...morbit.com>,
Jaegeuk Kim <jaegeuk@...nel.org>,
"Linus Torvalds" <torvalds@...ux-foundation.org>,
<linux-fsdevel@...r.kernel.org>, <devel@...verdev.osuosl.org>,
LKML <linux-kernel@...r.kernel.org>,
<linux-erofs@...ts.ozlabs.org>, Chao Yu <yuchao0@...wei.com>,
Miao Xie <miaoxie@...wei.com>,
Li Guifu <bluce.liguifu@...wei.com>,
Fang Wei <fangwei1@...wei.com>
Subject: Re: [PATCH v5 12/24] erofs: introduce tagged pointer
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
Powered by blists - more mailing lists