diff options
author | jkar8572 <jkar8572> | 2008-05-15 15:18:35 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2008-05-15 15:18:35 +0000 |
commit | 3daae6e86add495fdbc94ec5d2fe5540b9f509bc (patch) | |
tree | c64c33ebfe4ab1a6ef68776b837384ce552d58c5 | |
parent | 77f313a7dae4239d71fbe8c56fa874fe998603dd (diff) | |
download | linuxquota-3daae6e86add495fdbc94ec5d2fe5540b9f509bc.tar.gz |
Fix repquota(8) to work with quotas over 4TB (Jan Kara, Michael Meier)
-rw-r--r-- | Changelog | 2 | ||||
-rw-r--r-- | Makefile.in | 3 | ||||
-rw-r--r-- | repquota.c | 2 |
3 files changed, 6 insertions, 1 deletions
@@ -1,9 +1,11 @@ Changes in quota-tools from 3.16 to 3.17 +* Added quota_nld to the list of installed programs (Jan Kara) * some typos fixes (Matthew Boyle) * fixed possible segfault when unpriviledged user run edquota (Matthew Boyle) * fixed format strings to use "%llu" and "%lld" instead of "%Lu" and "%Ld" (Ladislav Michnovic) * removed ssl, resolv, lber from the list of LDAP libraries since we don't need them directly (Jan Kara) * added limits.h include to quota_nld (Jan Kara) +* fixed repquota to work with limits over 4 TB (Jan Kara, Michael Meier) Changes in quota-tools from 3.15 to 3.16 * added information message about journaled quota to quotacheck (Jan Kara, Alex Tomas) diff --git a/Makefile.in b/Makefile.in index c1dc181..ef119dc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -101,6 +101,9 @@ install: all @INSTMO@ -$(INSTALL) -m 644 rquota.h rquota.x $(ROOTDIR)$(includedir)/rpcsvc -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) quota $(ROOTDIR)$(bindir) -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) rpc.rquotad $(ROOTDIR)$(sbindir) +ifneq ($(NETLINKLIBS),) + -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) quota_nld $(ROOTDIR)$(sbindir) +endif -$(INSTALL) -m $(DEF_MAN_MODE) *.1 $(ROOTDIR)$(mandir)/man1 -$(INSTALL) -m $(DEF_MAN_MODE) *.2 $(ROOTDIR)$(mandir)/man2 -$(INSTALL) -m $(DEF_MAN_MODE) *.3 $(ROOTDIR)$(mandir)/man3 @@ -158,7 +158,7 @@ static void parse_options(int argcnt, char **argstr) } /* Are we over soft or hard limit? */ -static char overlim(uint usage, uint softlim, uint hardlim) +static char overlim(qsize_t usage, qsize_t softlim, qsize_t hardlim) { if ((usage > softlim && softlim) || (usage > hardlim && hardlim)) return '+'; |