• Andrew Morton's avatar
    [PATCH] Quota fix 3 - quota file corruption · e69c0c55
    Andrew Morton authored
    From: Jan Kara <jack@ucw.cz>
    
    This patch fixes possible quota files corruption which could happen when root
    did not have any inodes&space allocated.
    
    Originally this could not happen as structure would not be written to disk in
    that case but with journalled quota we need to write even all-zero structure. 
    The fix is not very nice but change of the format on disk is probably worse (I
    made a mistake with not including the usage-bitmaps into format :().
    e69c0c55
dquot.c 49.3 KB