summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_rename.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-21 11:44:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:33 -0500
commita66a985cde1606d0ed6f66f2dc80357b0f7d3363 (patch)
treef699472e80bc6b48edaebc8b1e15f3d6cbc3268e /source4/ntvfs/posix/pvfs_rename.c
parentde2ccc5ca93e0a0476aa829afd987cc043479e91 (diff)
downloadsamba-a66a985cde1606d0ed6f66f2dc80357b0f7d3363.tar.gz
samba-a66a985cde1606d0ed6f66f2dc80357b0f7d3363.tar.bz2
samba-a66a985cde1606d0ed6f66f2dc80357b0f7d3363.zip
r4314: added ACL checking on unlink
(This used to be commit f25c469693517ed993e0379d8b07cd7eb235a669)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_rename.c')
-rw-r--r--source4/ntvfs/posix/pvfs_rename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_rename.c b/source4/ntvfs/posix/pvfs_rename.c
index cba9cace59..0ca05bbc17 100644
--- a/source4/ntvfs/posix/pvfs_rename.c
+++ b/source4/ntvfs/posix/pvfs_rename.c
@@ -162,7 +162,7 @@ static NTSTATUS pvfs_rename_one(struct pvfs_state *pvfs,
status = pvfs_resolve_partial(pvfs, mem_ctx,
dir_path, fname2, &name2);
if (NT_STATUS_IS_OK(status)) {
- status = pvfs_can_delete(pvfs, name2);
+ status = pvfs_can_delete(pvfs, req, name2);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(mem_ctx);
return status;