]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/unix.c
Fix for filesystem without NFSv4 ACL support on Solaris, Bug ID #3428389
[netatalk.git] / etc / afpd / unix.c
index 0e444bcfffe36d712c7a6a9de7887a8cda497b05..53a59b35e7c0e6aa3d4a5a43e501d250affae794 100644 (file)
@@ -169,7 +169,7 @@ mode_t mode;
  *
  * dir parameter is used by AFS
  */
-void accessmode(char *path, struct maccess *ma, struct dir *dir _U_, struct stat *st)
+void accessmode(const struct vol *vol, char *path, struct maccess *ma, struct dir *dir _U_, struct stat *st)
 {
     struct stat     sb;
 
@@ -181,7 +181,7 @@ void accessmode(char *path, struct maccess *ma, struct dir *dir _U_, struct stat
     }
     utommode( st, ma );
 #ifdef HAVE_ACLS
-    acltoownermode(path, st, ma);
+    acltoownermode(vol, path, st, ma);
 #endif
 }