]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/volume.c
Allow enabling/disabling notifications on a per event type basis
[netatalk.git] / etc / afpd / volume.c
index b73d13c239ece87e8494c127dde753bc8ea7c235..cc98e09a908e3db9a4cacfbea1426b1231b80e10 100644 (file)
@@ -47,6 +47,7 @@ char *strchr (), *strrchr ();
 #include <atalk/uuid.h>
 #include <atalk/bstrlib.h>
 #include <atalk/bstradd.h>
+#include <atalk/fce_api.h>
 
 
 #ifdef CNID_DB
@@ -1495,6 +1496,7 @@ getvolspace_done:
         /* 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);