1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

don't use O_NONBLOCK in open(). This was added erroneously for kernel

oplocks and really shouldn't be used
This commit is contained in:
Andrew Tridgell -
parent c1b97226db
commit c3a83002cf

View 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;