959fe7d Shrink volume even with ALLOCATE flag

Authored and Committed by Ján Tomko 6 years ago
    Shrink volume even with ALLOCATE flag
    
    Calling fallocate on the new (smaller) capacity ensures
    that the whole file is allocated, but it does not reduce
    the file size.
    
    Also call ftruncate after fallocate.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1366446
    
        
file modified
+6 -6