]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/file.c
Merge branch 'develop'
[netatalk.git] / etc / afpd / file.c
index c4c55fb8290a68f5e434952dfba44d21ff46bfc5..c6fa166fcc203ad7d795ccc4c5462c0a8d3f9887 100644 (file)
@@ -34,6 +34,7 @@
 #include "file.h"
 #include "filedir.h"
 #include "unix.h"
+#include "spotlight.h"
 
 /* the format for the finderinfo fields (from IM: Toolbox Essentials):
  * field         bytes        subfield    bytes
@@ -748,10 +749,10 @@ createfile_iderr:
     ad_flush(&ad);
     ad_close(&ad, ADFLAGS_DF|ADFLAGS_HF );
     fce_register(FCE_FILE_CREATE, fullpathname(upath), NULL, fce_file);
+    sl_index_file(path);
 
 createfile_done:
     curdir->d_offcnt++;
-
     setvoltime(obj, vol );
 
     return (retvalue);