Re: [PATCH] btrfs: don't include '<linux/rwlock_types.h>' directly
From: David Sterba
Date: Mon Dec 23 2024 - 14:19:18 EST
On Thu, Dec 19, 2024 at 12:27:39PM +0100, Wolfram Sang wrote:
> 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.
I've updated the fix to drop rwlock_types.h as spinlock.h is already
there. Added to for-next, thanks.