s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT
[metze/samba/wip.git] / source3 / modules / nfs4_acls.c
index 10a3733c14efc30a226b6495ca9af1eac69d3b90..320f9da3370d2384ba43dbb0caecfc5dce9ee772 100644 (file)
@@ -168,7 +168,7 @@ static int smbacl4_GetFileOwner(struct connection_struct *conn,
        memset(psbuf, 0, sizeof(SMB_STRUCT_STAT));
 
        /* Get the stat struct for the owner info. */
-       if (SMB_VFS_STAT(conn, filename, psbuf) != 0)
+       if (vfs_stat_smb_fname(conn, filename, psbuf) != 0)
        {
                DEBUG(8, ("SMB_VFS_STAT failed with error %s\n",
                        strerror(errno)));