[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOaDN_TK=0VGwbHBy+=+D_tOgsHyR=xmAuV57muF6MZQcX9RcA@mail.gmail.com>
Date: Tue, 3 Jan 2023 10:56:49 +0800
From: Katrin Jo <zys.zljxml@...il.com>
To: dsterba@...e.cz
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org,
Yushan Zhou <katrinzhou@...cent.com>
Subject: Re: [PATCH] brtfs: use PAGE_ALIGNED macro
The macro ALIGN(addr, PAGE_SIZE) can be replaced by PAGE_ALIGN(addr),
and the same as PAGE_ALIGNED_DOWN.
Do you mean that? I will send the third version and modify the commit
message a bit.
Best,
Katrin
On Mon, Jan 2, 2023 at 11:09 PM David Sterba <dsterba@...e.cz> wrote:
>
> On Wed, Dec 28, 2022 at 12:04:47PM +0800, zys.zljxml@...il.com wrote:
> > From: Yushan Zhou <katrinzhou@...cent.com>
> >
> > The header file linux/mm.h provides the PAGE_ALIGNED macro to
> > test whether an address is aligned to PAGE_SIZE. Use it instead
> > of IS_ALIGNED.
>
> There are about 8 such conversions in fs/btrfs/, please fix them all.
> Thanks.
Powered by blists - more mailing lists