summaryrefslogtreecommitdiff
path: root/source3/smbd/open.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-06-26 01:04:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:04 -0500
commit3e0f586298125bbda80b8edcced49d5bbb424b0d (patch)
treea0032b90f42f735c1fcfaaf99f3f6e5ee22236cd /source3/smbd/open.c
parent7f05a7d0c85fd3deaf5e3e263cf8b0f05d4a7f01 (diff)
downloadsamba-3e0f586298125bbda80b8edcced49d5bbb424b0d.tar.gz
samba-3e0f586298125bbda80b8edcced49d5bbb424b0d.tar.bz2
samba-3e0f586298125bbda80b8edcced49d5bbb424b0d.zip
r1263: Make "defer sharing violations" a global parameter.
Jeremy. (This used to be commit 42cdeccc36dc5f4bd133b84d4eaeb76f42f8043b)
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r--source3/smbd/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 119eb04e09..d38d94e5aa 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -786,7 +786,7 @@ static void delete_defered_open_entry_record(connection_struct *conn, SMB_DEV_T
deferred_open_entry *de_array = NULL;
int num_de_entries, i;
- if (!lp_defer_sharing_violations(SNUM(conn))) {
+ if (!lp_defer_sharing_violations()) {
return;
}
@@ -818,7 +818,7 @@ void defer_open_sharing_error(connection_struct *conn, struct timeval *ptv,
int num_de_entries, i;
struct dev_inode_bundle dib;
- if (!lp_defer_sharing_violations(SNUM(conn))) {
+ if (!lp_defer_sharing_violations()) {
return;
}