summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 18:07:29 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:25 +0200
commit2d7cce6b7c0e38a8eb3ecdd9972ba25138f1845e (patch)
treef6a837db5579d5f506259b29925542253f9bb52a /source3
parent13441a9e1832a99742b1ca9919f1b61fbccd8419 (diff)
downloadsamba-2d7cce6b7c0e38a8eb3ecdd9972ba25138f1845e.tar.gz
samba-2d7cce6b7c0e38a8eb3ecdd9972ba25138f1845e.tar.bz2
samba-2d7cce6b7c0e38a8eb3ecdd9972ba25138f1845e.zip
s3: Remove procid_self() from break_kernel_oplock()
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 9a9145fdab..129f507bbe 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -47,7 +47,7 @@ void break_kernel_oplock(struct messaging_context *msg_ctx, files_struct *fsp)
/* Don't need to be root here as we're only ever
sending to ourselves. */
- messaging_send_buf(msg_ctx, procid_self(),
+ messaging_send_buf(msg_ctx, messaging_server_id(msg_ctx),
MSG_SMB_KERNEL_BREAK,
msg, MSG_SMB_KERNEL_BREAK_SIZE);
}