Browse Source

Introduce EXT4_BLOCK_ZERO macro to initialize ext4_block

pull/11/head
gkostka 9 years ago
parent
commit
d15d9a8f91
  1. 2
      lwext4/ext4_bcache.h

2
lwext4/ext4_bcache.h

@ -42,6 +42,8 @@
#include <stdint.h>
#include <stdbool.h>
#define EXT4_BLOCK_ZERO() {.dirty = 0, .lb_id = 0, .cache_id = 0, .data = 0}
/**@brief Single block descriptor*/
struct ext4_block {
/**@brief Dirty flag*/

Loading…
Cancel
Save