title: Free space bitmap C implementation
body: <p>I trying to develop a simple file system (Linux kernel) and I'm thinking of using bitmap to keep track of used/free blocks as described in here: </p>
  
  <p><a href="https://en.wikipedia.org/wiki/Free_space_bitmap" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Free_space_bitmap</a></p>
  
  <p>However, I could not find any implementation of such system in C. I would like to see some examples so I could implement a similar thing to my system. </p>
  
  <p>Any suggestion where I could find them? </p>