summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:32:54 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commit1ac7f071ce2191599b99eddfb4fb595d2d1f474f (patch)
treea83cf9e1d4a96849a30d9761b16b60d2ff39177f /source3/smbd
parent6098f8d80cb37fba7d2f245ee1a5c184b0f27aea (diff)
downloadsamba-1ac7f071ce2191599b99eddfb4fb595d2d1f474f.tar.gz
samba-1ac7f071ce2191599b99eddfb4fb595d2d1f474f.tar.bz2
samba-1ac7f071ce2191599b99eddfb4fb595d2d1f474f.zip
build: Remove SMB_F* locking defines
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index ae4a1c01c1..7b12315fc3 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -81,7 +81,7 @@ static bool smbd_lock_socket_internal(struct smbd_server_connection *sconn)
do {
ok = fcntl_lock(
sconn->smb1.echo_handler.socket_lock_fd,
- SMB_F_SETLKW, 0, 0, F_WRLCK);
+ F_SETLKW, 0, 0, F_WRLCK);
} while (!ok && (errno == EINTR));
if (!ok) {
@@ -118,7 +118,7 @@ static bool smbd_unlock_socket_internal(struct smbd_server_connection *sconn)
do {
ok = fcntl_lock(
sconn->smb1.echo_handler.socket_lock_fd,
- SMB_F_SETLKW, 0, 0, F_UNLCK);
+ F_SETLKW, 0, 0, F_UNLCK);
} while (!ok && (errno == EINTR));
if (!ok) {