File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ struct simplefs_sb_info {
142
142
uint32_t nr_free_inodes ; /* Number of free inodes */
143
143
uint32_t nr_free_blocks ; /* Number of free blocks */
144
144
145
+ unsigned long * ifree_bitmap ; /* In-memory free inodes bitmap */
146
+ unsigned long * bfree_bitmap ; /* In-memory free blocks bitmap */
145
147
#ifdef __KERNEL__
146
148
journal_t * journal ;
147
149
struct block_device * s_journal_bdev ; /* v5.10+ external journal device */
@@ -150,10 +152,8 @@ struct simplefs_sb_info {
150
152
#elif SIMPLEFS_AT_LEAST (6 , 7 , 0 )
151
153
struct bdev_handle
152
154
* s_journal_bdev_handle ; /* v6.7+ external journal device */
153
- #endif
154
- unsigned long * ifree_bitmap ; /* In-memory free inodes bitmap */
155
- unsigned long * bfree_bitmap ; /* In-memory free blocks bitmap */
156
- #endif
155
+ #endif /* SIMPLEFS_AT_LEAST */
156
+ #endif /* __KERNEL__ */
157
157
};
158
158
159
159
#endif /* SIMPLEFS_H */
You can’t perform that action at this time.
0 commit comments