[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z2QDK9uFrXUIhJn2@shikoro>
Date: Thu, 19 Dec 2024 12:27:39 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Qu Wenruo <quwenruo.btrfs@....com>
Cc: linux-kernel@...r.kernel.org, Chris Mason <clm@...com>,
Josef Bacik <josef@...icpanda.com>, David Sterba <dsterba@...e.com>,
linux-btrfs@...r.kernel.org
Subject: Re: [PATCH] btrfs: don't include '<linux/rwlock_types.h>' directly
Hi,
> > -#include <linux/rwlock_types.h>
> > +#include <linux/spinlock_types.h>
>
> I think we can just remove the *_type.h include header completely.
I agree, spinlock.h is enough.
> For non-RT build, spinlock.h will include linux/rwlock.h, and
> spinlock_types.h unconditionally.
Yet, isn't it always included unconditionally?
spinlock.h -> spinlock_types.h -> rwlock_types.h
I don't see any conditionals there.
Thanks for the review and happy hacking,
Wolfram
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists