Merge pull request #3 from thesues/master

fix all the compile errors, leaving all warnings.
this protocol is not used any more
add git archive/fix returns random data in a function
    Fix building warnings

    fix typos, clean up some code, correct function prototype.

    Signed-off-by: Bo Yang <boyang@suse.com>
    Add handler for metadata update.

    After receiving metadata update message, reload
    superblock from disk.

    Signed-off-by: Bo Yang <boyang@suse.com>