svn commit: samba r4247 - in branches/SAMBA_4_0/source/ntvfs/posix:
.
tridge at samba.org
tridge at samba.org
Fri Dec 17 06:35:12 GMT 2004
Author: tridge
Date: 2004-12-17 06:35:11 +0000 (Fri, 17 Dec 2004)
New Revision: 4247
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4247
Log:
two more places that need the unlink hook
Modified:
branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c 2004-12-17 06:34:13 UTC (rev 4246)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c 2004-12-17 06:35:11 UTC (rev 4247)
@@ -202,6 +202,9 @@
if (mkdir(name->full_name, mode) == -1) {
return pvfs_map_errno(pvfs,errno);
}
+
+ pvfs_xattr_unlink_hook(pvfs, name->full_name);
+
status = pvfs_resolve_name(pvfs, req, io->ntcreatex.in.fname, 0, &name);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -436,6 +439,8 @@
return pvfs_map_errno(pvfs, errno);
}
+ pvfs_xattr_unlink_hook(pvfs, name->full_name);
+
/* if this was a stream create then create the stream as well */
if (name->stream_name) {
status = pvfs_stream_create(pvfs, name, fd);
More information about the samba-cvs
mailing list