]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
btrfs: don't include linux/rwlock_types.h directly
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 17 Dec 2024 07:05:43 +0000 (08:05 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:18 +0000 (14:53 +0100)
The header clearly states that it does not want to be included directly,
only via linux/spinlock_types.h. Drop this as we can simply use the
spinlock.h which is already included.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/fs.h

index 58e6b4b953f1c751c92bc2cbf7f3db264e3326fd..be8c32d1a7bbe096fc62c858992c4133045d8123 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/lockdep.h>
 #include <linux/spinlock.h>
 #include <linux/mutex.h>
-#include <linux/rwlock_types.h>
 #include <linux/rwsem.h>
 #include <linux/semaphore.h>
 #include <linux/list.h>