s3:smbd:vfs: Change posix_get_nt_acl() from const char * to const struct smb_filename *.
[nivanova/samba-autobuild/.git] / source3 / modules / vfs_default.c
index ee9ddb20e5fe24b88dfa0be1d9cb1a609ac6ee8f..ea7dc2caf99fc59c899e05e6069e3ba29fcdff86 100644 (file)
@@ -2344,7 +2344,7 @@ static NTSTATUS vfswrap_get_nt_acl(vfs_handle_struct *handle,
 
        START_PROFILE(get_nt_acl);
        result = posix_get_nt_acl(handle->conn,
-                               smb_fname->base_name,
+                               smb_fname,
                                security_info,
                                mem_ctx,
                                ppdesc);