don't use O_NONBLOCK in open(). This was added erroneously for kernel
authorAndrew Tridgell <tridge@samba.org>
Thu, 17 Jan 2002 00:25:13 +0000 (00:25 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 17 Jan 2002 00:25:13 +0000 (00:25 +0000)
oplocks and really shouldn't be used

source/smbd/open.c

index b42c1bacc34dba2c96fae3a4284eea4494a7cfa7..589f1a32b434dc7c2224f1a710e3cfa3f837d6ff 100644 (file)
@@ -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;