git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb4f76
)
Fix for check_kernel_oplocks looking for the var directory
author
Herb Lewis
<herb@samba.org>
Tue, 9 May 2000 22:07:07 +0000
(22:07 +0000)
committer
Herb Lewis
<herb@samba.org>
Tue, 9 May 2000 22:07:07 +0000
(22:07 +0000)
before it may need to be created.
Jeremy.
source/smbd/server.c
patch
|
blob
|
history
diff --git
a/source/smbd/server.c
b/source/smbd/server.c
index 2f6a6ad7eda3dbb3dae6b8ea8574483ef8838cea..7938b00ddc101ce6421a7bdcbf73fcbd44e53c0f 100644
(file)
--- a/
source/smbd/server.c
+++ b/
source/smbd/server.c
@@
-729,12
+729,12
@@
static void usage(char *pname)
become_daemon();
}
- check_kernel_oplocks();
-
if (!directory_exist(lp_lockdir(), NULL)) {
mkdir(lp_lockdir(), 0755);
}
+ check_kernel_oplocks();
+
if (is_daemon) {
pidfile_create("smbd");
}