commit | db49d2df489f727096438706a5428115e84a3f0d | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed Oct 01 18:21:39 2008 +0200 |
committer | Mark Fasheh <mfasheh@suse.com> | Mon Jan 05 08:40:21 2009 -0800 |
tree | 4ba9837a5371bb4a84dc27614eaeb4e4772e3eb8 | |
parent | e3d4d56b9715e40ded2a84d0d4fa7f3b6c58983c [diff] |
quota: Allow negative usage of space and inodes For clustered filesystems, it can happen that space / inode usage goes negative temporarily (because some node is allocating another node is freeing and they are not completely in sync). So let quota code allow this and change qsize_t so a signed type so that we don't underflow the variables. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Mark Fasheh <mfasheh@suse.com>