s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT
[metze/samba/wip.git] / source3 / modules / vfs_afsacl.c
index e537f01b039b484806815f4cb8bbf13e197e44a7..55371c60f5e767094483f09e0f768d6dfb2042c0 100644 (file)
@@ -662,7 +662,7 @@ static size_t afs_to_nt_acl(struct afs_acl *afs_acl,
        SMB_STRUCT_STAT sbuf;
 
        /* Get the stat struct for the owner info. */
-       if(SMB_VFS_STAT(conn, name, &sbuf) != 0) {
+       if(vfs_stat_smb_fname(conn, name, &sbuf) != 0) {
                return 0;
        }