summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-07 11:25:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:46 -0500
commitcd794e79f999b3b7b639c4fe89ea1af23ed362f6 (patch)
tree4d6794e2446cffbc1e28cbf031dc6a2e6bbcab1b /source4/ntvfs/posix
parenta40ce7f9f64ac8f45dc4f1d8d38ed63b3db0eb03 (diff)
downloadsamba-cd794e79f999b3b7b639c4fe89ea1af23ed362f6.tar.gz
samba-cd794e79f999b3b7b639c4fe89ea1af23ed362f6.tar.bz2
samba-cd794e79f999b3b7b639c4fe89ea1af23ed362f6.zip
r14959: allow change notify to be disabled completely using
notify:enable=False (This used to be commit 2a8f093105f3047a3697f29aadcc9c48c6ac88e1)
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r--source4/ntvfs/posix/vfs_posix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c
index 3e141219f4..dd8c3fe81f 100644
--- a/source4/ntvfs/posix/vfs_posix.c
+++ b/source4/ntvfs/posix/vfs_posix.c
@@ -185,14 +185,12 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs,
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}
+ /* allow this to be NULL - we just disable change notify */
pvfs->notify_context = notify_init(pvfs,
pvfs->ntvfs->ctx->server_id,
pvfs->ntvfs->ctx->msg_ctx,
event_context_find(pvfs),
pvfs->ntvfs->ctx->config.snum);
- if (pvfs->notify_context == NULL) {
- return NT_STATUS_INTERNAL_DB_CORRUPTION;
- }
pvfs->sidmap = sidmap_open(pvfs);
if (pvfs->sidmap == NULL) {