summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-19 15:53:57 +0100
committerVolker Lendecke <vl@samba.org>2008-02-19 16:19:49 +0100
commite12cd305dd9d383058d5bdfa805078735c8018e3 (patch)
treea8743e91bada2222adace6939793cac8533fe7ac /source3/smbd
parentcdb88dcf6b65cc2261a5dbec06fc4534c708128d (diff)
downloadsamba-e12cd305dd9d383058d5bdfa805078735c8018e3.tar.gz
samba-e12cd305dd9d383058d5bdfa805078735c8018e3.tar.bz2
samba-e12cd305dd9d383058d5bdfa805078735c8018e3.zip
Inform level II oplock holders when we write using AIO
Jeremy, please check! (This used to be commit 81d823e026fb332a88b6e1f15030fe49719f2522)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/aio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index 86fdfe31b7..5515582eec 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -351,6 +351,8 @@ bool schedule_aio_write_and_X(connection_struct *conn,
return False;
}
+ release_level_2_oplocks_on_change(fsp);
+
if (!write_through && !lp_syncalways(SNUM(fsp->conn))
&& fsp->aio_write_behind) {
/* Lie to the client and immediately claim we finished the