9eae161 mmap_cache: Use sss_atomic_write_s instead of write.

1 file Authored by mzidek 10 years ago, Committed by jhrozek 10 years ago,
    mmap_cache: Use sss_atomic_write_s instead of write.
    
    Use sss_atomic_write_s() instead of write() in
    sss_mc_save_corrupted(). Also unlink() the file if no data
    were written.
    
    It is better to use sss_atomic_write_s instead of write