summaryrefslogtreecommitdiffstats
path: root/source/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
commit256afb764828b0a6dad5529d62501bc9ea2807ee (patch)
treeb561c1bb1780aaa32d303b84dc0c773aa18e96cb /source/smbd/quotas.c
parentd38ac4f3a2fb47d3e2ca7d5f788130064502c6eb (diff)
downloadsamba-256afb764828b0a6dad5529d62501bc9ea2807ee.tar.gz
samba-256afb764828b0a6dad5529d62501bc9ea2807ee.tar.xz
samba-256afb764828b0a6dad5529d62501bc9ea2807ee.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)
Diffstat (limited to 'source/smbd/quotas.c')
-rw-r--r--source/smbd/quotas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/quotas.c b/source/smbd/quotas.c
index 262eea31004..8cbe46d9e12 100644
--- a/source/smbd/quotas.c
+++ b/source/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;