[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241217070542.2483-2-wsa+renesas@sang-engineering.com>
Date: Tue, 17 Dec 2024 08:05:43 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: linux-kernel@...r.kernel.org
Cc: Wolfram Sang <wsa+renesas@...g-engineering.com>,
Chris Mason <clm@...com>,
Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>,
linux-btrfs@...r.kernel.org
Subject: [PATCH] btrfs: don't include '<linux/rwlock_types.h>' directly
The header clearly states that it does not want to be included directly,
only via '<linux/spinlock_types.h>'. Replace the include accordingly.
Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
---
fs/btrfs/fs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/fs.h b/fs/btrfs/fs.h
index 79a1a3d6f04d..78e558652908 100644
--- a/fs/btrfs/fs.h
+++ b/fs/btrfs/fs.h
@@ -14,7 +14,7 @@
#include <linux/lockdep.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
-#include <linux/rwlock_types.h>
+#include <linux/spinlock_types.h>
#include <linux/rwsem.h>
#include <linux/semaphore.h>
#include <linux/list.h>
--
2.45.2
Powered by blists - more mailing lists