diff options
author | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
commit | 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch) | |
tree | 016bfa1969323404c37dbef29cfc7242a5a8e9f3 /extra/quota-tools/system_inodes.diff | |
parent | e9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff) |
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'extra/quota-tools/system_inodes.diff')
-rw-r--r-- | extra/quota-tools/system_inodes.diff | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/extra/quota-tools/system_inodes.diff b/extra/quota-tools/system_inodes.diff deleted file mode 100644 index 94f4d66da..000000000 --- a/extra/quota-tools/system_inodes.diff +++ /dev/null @@ -1,18 +0,0 @@ -# Description: Do not count system inodes into quota for ext[234] -# Author: Jan Kara - ---- quota/quotacheck.c 2010-02-18 09:44:10.000000000 +0100 -+++ quota-tools//quotacheck.c 2010-05-22 16:47:53.000000000 +0200 -@@ -455,8 +455,10 @@ - return -1; - } - -- while ((long)i_num) { -- if (inode.i_links_count) { -+ while (i_num) { -+ if ((i_num == EXT2_ROOT_INO || -+ i_num >= EXT2_FIRST_INO(fs->super)) && -+ inode.i_links_count) { - debug(FL_DEBUG, _("Found i_num %ld, blocks %ld\n"), (long)i_num, (long)inode.i_blocks); - if (flags & FL_VERBOSE) - blit(NULL); |