git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65506f2
)
09b - TODO: allow durable with delete_on_close in vfswrap_default_durable_disconnect
author
Michael Adam
<obnox@samba.org>
Tue, 7 Aug 2012 13:59:12 +0000
(15:59 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 13 Aug 2018 15:34:22 +0000
(17:34 +0200)
source3/smbd/durable.c
patch
|
blob
|
history
diff --git
a/source3/smbd/durable.c
b/source3/smbd/durable.c
index 80392e2c6dbbdd30eefe2404e437172265de209d..1df3e23742d05d729cc6345634c069b0701ddd07 100644
(file)
--- a/
source3/smbd/durable.c
+++ b/
source3/smbd/durable.c
@@
-173,6
+173,7
@@
NTSTATUS vfs_default_durable_disconnect(struct files_struct *fsp,
return NT_STATUS_NOT_SUPPORTED;
}
+#if 0
/*
* For now let it be simple and do not keep
* delete on close files durable open
@@
-183,6
+184,7
@@
NTSTATUS vfs_default_durable_disconnect(struct files_struct *fsp,
if (fsp->delete_on_close) {
return NT_STATUS_NOT_SUPPORTED;
}
+#endif
if (!VALID_STAT(fsp->fsp_name->st)) {
return NT_STATUS_NOT_SUPPORTED;