fellow_cache: Pack struct fellow_cache_res

parent b3f86fee
......@@ -35,17 +35,18 @@ enum fellow_cache_res_e {
fcr_allocerr = 1,
fcr_ioerr = 2,
FCR_LIM
};
} __attribute__ ((__packed__));
extern const char * const fellow_cache_res_s[FCR_LIM];
struct fellow_cache_res {
enum fellow_cache_res_e status;
union {
int integer;
void *ptr;
const char *err;
} r;
};
enum fellow_cache_res_e status;
} __attribute__ ((__packed__));
struct fellow_cache *
fellow_cache_init(struct fellow_fd *, buddy_t *, struct stvfe_tune *,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment