summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_open.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-26 07:11:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:46 -0500
commitf1814e5a53d2f685e193ba5f28b38ea48efd9269 (patch)
tree793d12eff2886e0db58515e36cf16a3a2008165d /source4/ntvfs/posix/pvfs_open.c
parent7a11723cfcb05a308568e3e286f63842c0b93942 (diff)
downloadsamba-f1814e5a53d2f685e193ba5f28b38ea48efd9269.tar.gz
samba-f1814e5a53d2f685e193ba5f28b38ea48efd9269.tar.bz2
samba-f1814e5a53d2f685e193ba5f28b38ea48efd9269.zip
r3249: - change_time is closer to ctime than mtime
- pvfs now passes the RAW-CLOSE test (This used to be commit 98aea91ce67a0c64a98537bfe244495f10672323)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_open.c')
-rw-r--r--source4/ntvfs/posix/pvfs_open.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c
index f533a36637..1575ca82c1 100644
--- a/source4/ntvfs/posix/pvfs_open.c
+++ b/source4/ntvfs/posix/pvfs_open.c
@@ -634,6 +634,10 @@ NTSTATUS pvfs_close(struct ntvfs_module_context *ntvfs,
NTSTATUS status;
struct utimbuf unix_times;
+ if (io->generic.level == RAW_CLOSE_SPLCLOSE) {
+ return NT_STATUS_UNSUCCESSFUL;
+ }
+
if (io->generic.level != RAW_CLOSE_CLOSE) {
return ntvfs_map_close(req, io, ntvfs);
}