mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +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:
parent
c1b97226db
commit
c3a83002cf
@ -34,10 +34,6 @@ static int fd_open(struct connection_struct *conn, char *fname,
|
|||||||
int flags, mode_t mode)
|
int flags, mode_t mode)
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
#ifdef O_NONBLOCK
|
|
||||||
flags |= O_NONBLOCK;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef O_NOFOLLOW
|
#ifdef O_NOFOLLOW
|
||||||
if (!lp_symlinks(SNUM(conn)))
|
if (!lp_symlinks(SNUM(conn)))
|
||||||
flags |= O_NOFOLLOW;
|
flags |= O_NOFOLLOW;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user