File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ struct io {
39
39
void * context ;
40
40
void * vma_invalidate_address ;
41
41
unsigned long vma_invalidate_size ;
42
- } __attribute__(( aligned ( DM_IO_MAX_REGIONS )) );
42
+ } __aligned ( DM_IO_MAX_REGIONS );
43
43
44
44
static struct kmem_cache * _dm_io_cache ;
45
45
Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ struct node_header {
35
35
__le32 max_entries ;
36
36
__le32 value_size ;
37
37
__le32 padding ;
38
- } __attribute__((packed , aligned ( 8 )) );
38
+ } __attribute__ ((packed )) __aligned ( 8 );
39
39
40
40
struct btree_node {
41
41
struct node_header header ;
42
42
__le64 keys [];
43
- } __attribute__((packed , aligned ( 8 )) );
43
+ } __attribute__ ((packed )) __aligned ( 8 );
44
44
45
45
46
46
/*
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ struct disk_index_entry {
34
34
__le64 blocknr ;
35
35
__le32 nr_free ;
36
36
__le32 none_free_before ;
37
- } __attribute__ ((packed , aligned ( 8 )) );
37
+ } __attribute__ ((packed )) __aligned ( 8 );
38
38
39
39
40
40
#define MAX_METADATA_BITMAPS 255
@@ -44,7 +44,7 @@ struct disk_metadata_index {
44
44
__le64 blocknr ;
45
45
46
46
struct disk_index_entry index [MAX_METADATA_BITMAPS ];
47
- } __attribute__ ((packed , aligned ( 8 )) );
47
+ } __attribute__ ((packed )) __aligned ( 8 );
48
48
49
49
struct ll_disk ;
50
50
@@ -103,15 +103,15 @@ struct disk_sm_root {
103
103
__le64 nr_allocated ;
104
104
__le64 bitmap_root ;
105
105
__le64 ref_count_root ;
106
- } __attribute__ ((packed , aligned ( 8 )) );
106
+ } __attribute__ ((packed )) __aligned ( 8 );
107
107
108
108
#define ENTRIES_PER_BYTE 4
109
109
110
110
struct disk_bitmap_header {
111
111
__le32 csum ;
112
112
__le32 not_used ;
113
113
__le64 blocknr ;
114
- } __attribute__ ((packed , aligned ( 8 )) );
114
+ } __attribute__ ((packed )) __aligned ( 8 );
115
115
116
116
/*----------------------------------------------------------------*/
117
117
You can’t perform that action at this time.
0 commit comments