Adopted opened-mdir field in lfsr_file_t
Since we need these for lfsr_dir_t (named b and p), we might as well adopt one in lfsr_file_t (named m). This at least avoids a cast when enrolling/unenrolling in the opened-mdir list.
This commit is contained in:
@@ -520,10 +520,7 @@ typedef struct lfsr_ftree {
|
||||
} lfsr_ftree_t;
|
||||
|
||||
typedef struct lfsr_file {
|
||||
struct lfsr_opened *next;
|
||||
uint8_t type;
|
||||
uint16_t flags;
|
||||
lfsr_mdir_t mdir;
|
||||
lfsr_opened_t m;
|
||||
|
||||
// files contain both an active tree and staging tree, to allow
|
||||
// staging during mdir compacts
|
||||
|
||||
Reference in New Issue
Block a user