#include <atalk/uuid.h>
#include <atalk/bstrlib.h>
#include <atalk/bstradd.h>
-#include <atalk/fce_api.h>
-
#ifdef CNID_DB
#include <atalk/cnid.h>
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif /* ! MIN */
-#ifndef NO_LARGE_VOL_SUPPORT
-#if BYTE_ORDER == BIG_ENDIAN
-#define hton64(x) (x)
-#define ntoh64(x) (x)
-#else /* BYTE_ORDER == BIG_ENDIAN */
-#define hton64(x) ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
- (u_int64_t) ((htonl(x) & 0xffffffffLL) << 32))
-#define ntoh64(x) (hton64(x))
-#endif /* BYTE_ORDER == BIG_ENDIAN */
-#endif /* ! NO_LARGE_VOL_SUPPORT */
-
#ifndef UUID_PRINTABLE_STRING_LENGTH
#define UUID_PRINTABLE_STRING_LENGTH 37
#endif
/* now buf contains only digits */
long long used = atoll(buf) * multi;
LOG(log_debug, logtype_afpd, "volparams: used on volume: %llu bytes", used);
- fce_register_tm_size(vol->v_path, used);
*xbtotal = min(*xbtotal, (vol->v_limitsize * 1024 * 1024));
*xbfree = min(*xbfree, *xbtotal < used ? 0 : *xbtotal - used);