summaryrefslogtreecommitdiff
path: root/source3/smbd/quotas.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-17 20:11:58 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-17 20:11:58 +0000
commit8b904f4ecc7b6bd6558d40fda4184112bbb10366 (patch)
tree6f356198018991ea578110d5091d3b30a4cf7f8c /source3/smbd/quotas.c
parent6835bd679c414a7d19a50cd6e99a53801cf4475e (diff)
downloadsamba-8b904f4ecc7b6bd6558d40fda4184112bbb10366.tar.gz
samba-8b904f4ecc7b6bd6558d40fda4184112bbb10366.tar.bz2
samba-8b904f4ecc7b6bd6558d40fda4184112bbb10366.zip
Makefile: Added krb5 option from Nathan Neulinger <nneul@umr.edu>
includes.h: Added krb5 option from Nathan Neulinger <nneul@umr.edu>, added SGI5 fix. password.c: Added krb5 option from Nathan Neulinger <nneul@umr.edu> quotas.c: Added inode quote fix. reply.c: removed redundent code. server.c: Changed error debug to 0, removed redundent check. util.c: Added close_low_fd() to become_daemon - fix for rsh from Johnathan Knight. Jeremy (jallison@whistle.com) (This used to be commit 256afb764828b0a6dad5529d62501bc9ea2807ee)
Diffstat (limited to 'source3/smbd/quotas.c')
-rw-r--r--source3/smbd/quotas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index 262eea3100..8cbe46d9e1 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -437,7 +437,7 @@ BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize)
/* Use softlimit to determine disk space, except when it has been exceeded */
if ((D.dqb_curblocks>D.dqb_bsoftlimit)
#if !defined(__FreeBSD__)
-||(D.dqb_curfiles>D.dqb_fsoftlimit)
+||((D.dqb_curfiles>D.dqb_fsoftlimit) && (D.dqb_fsoftlimit != 0))
#endif
) {
*dfree = 0;