git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08019e8
)
don't use O_NONBLOCK in open(). This was added erroneously for kernel
author
Andrew Tridgell
<tridge@samba.org>
Thu, 17 Jan 2002 00:25:13 +0000
(
00:25
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 17 Jan 2002 00:25:13 +0000
(
00:25
+0000)
oplocks and really shouldn't be used
(This used to be commit
c3a83002cfc2e0b5158cae1898eda8bafcb41e48
)
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index b42c1bacc34dba2c96fae3a4284eea4494a7cfa7..589f1a32b434dc7c2224f1a710e3cfa3f837d6ff 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-34,10
+34,6
@@
static int fd_open(struct connection_struct *conn, char *fname,
int flags, mode_t mode)
{
int fd;
-#ifdef O_NONBLOCK
- flags |= O_NONBLOCK;
-#endif
-
#ifdef O_NOFOLLOW
if (!lp_symlinks(SNUM(conn)))
flags |= O_NOFOLLOW;