diff options
| author | Qu Wenruo <[email protected]> | 2024-05-28 05:27:32 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-07-11 13:33:22 +0000 |
| commit | c27b1dbb713ad0d81f3bbd5ede92caaaedfd8947 (patch) | |
| tree | d75c7c7db0ecc5b5ff0243984954e390b3ab789b /fs/btrfs/btrfs_inode.h | |
| parent | btrfs: cleanup recursive include of the same header (diff) | |
| download | kernel-c27b1dbb713ad0d81f3bbd5ede92caaaedfd8947.tar.gz kernel-c27b1dbb713ad0d81f3bbd5ede92caaaedfd8947.zip | |
btrfs: do not directly include rwlock_types.h
There is already an error inside that header:
#if !defined(__LINUX_SPINLOCK_TYPES_H)
# error "Do not include directly, include spinlock_types.h"
#endif
Thankfully it never get triggered as some other headers have already
included spinlock_types.h.
However clangd would still do a proper warning on that if only
extent_map.h is opened.
Fix it by using spinlock_types.h instead.
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions
