bcachefs: Remove duplicate included headers
PATCH RESEND 1/1 bcachefs: Remove duplicate included headers
From: Thorsten Blum <[email protected]>
The header files dirent_format.h and disk_groups_format.h are included twice. Remove the redundant includes and the following warnings reported by make includecheck:
disk_groups_format.h is included more than once
dirent_format.h is included more than once
Reviewed-by Hongbo Li <[email protected]>
Signed-off-by Thorsten Blum <[email protected]>
--- fs/bcachefs/bcachefs_format.h | 2 -- 1 file changed, 2 deletions(-)
fs/bcachefs/bcachefs_format.h +0 -2
@@ -499,8 +499,6 @@ struct bch_sb_field {#include "disk_groups_format.h" #include "extents_format.h" #include "ec_format.h" -#include "dirent_format.h" -#include "disk_groups_format.h" #include "inode_format.h" #include "journal_seq_blacklist_format.h" #include "logged_ops_format.h"
Signature · 1 line
2.46.1
Kent Overstreet
AppliedQuoted 11 lines · Thorsten Blum
From: Thorsten Blum <[email protected]>
The header files
dirent_format.handdisk_groups_format.hare included twice. Remove the redundant includes and the following warnings reported by make includecheck:
disk_groups_format.his included more than once
dirent_format.his included more than onceReviewed-by Hongbo Li <[email protected]>Signed-off-by Thorsten Blum <[email protected]>
Applied