diff options
author | Volker Lendecke <vl@samba.org> | 2008-02-19 15:53:57 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-02-19 16:19:49 +0100 |
commit | e12cd305dd9d383058d5bdfa805078735c8018e3 (patch) | |
tree | a8743e91bada2222adace6939793cac8533fe7ac | |
parent | cdb88dcf6b65cc2261a5dbec06fc4534c708128d (diff) | |
download | samba-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)
-rw-r--r-- | source3/smbd/aio.c | 2 |
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 |