diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-01-17 00:25:13 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-01-17 00:25:13 +0000 |
commit | 630e0ae8ef14e8ec75ea4d38f88453084780bf56 (patch) | |
tree | 166fa746bd30b5a030d616d31af7f94d23edb28e | |
parent | 08019e8a337c5e378ec9dfc70698adb73b9b7676 (diff) | |
download | samba-630e0ae8ef14e8ec75ea4d38f88453084780bf56.tar.gz samba-630e0ae8ef14e8ec75ea4d38f88453084780bf56.tar.bz2 samba-630e0ae8ef14e8ec75ea4d38f88453084780bf56.zip |
don't use O_NONBLOCK in open(). This was added erroneously for kernel
oplocks and really shouldn't be used
(This used to be commit c3a83002cfc2e0b5158cae1898eda8bafcb41e48)
-rw-r--r-- | source3/smbd/open.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index b42c1bacc3..589f1a32b4 100644 --- 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; |