diff options
author | Jeremy Allison <jra@samba.org> | 2017-11-03 21:47:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-11-10 23:27:10 +0100 |
commit | 62a556d5c8ce0650e3a2095ee62bea16c8eab1d5 (patch) | |
tree | 7df55a159e6893e508523faec9c78e2d60ed6dab /testprogs | |
parent | 732ba3c84a2d40040550ea36b0478dd6af9a173a (diff) | |
download | samba-62a556d5c8ce0650e3a2095ee62bea16c8eab1d5.tar.gz |
Revert "s3/smbd: fix deferred open with streams and kernel oplocks"
This reverts commit b35a296a27a0807c780f2a9e7af2f2e93feefaa8.
This was the cause of
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13058
1. client of smbd-1 opens the file and sets the oplock.
2. client of smbd-2 tries to open the file. open() fails(EAGAIN) and open is deferred.
3. client of smbd-1 sends oplock break request to the client.
4. client of smbd-1 closes the file.
5. client of smbd-1 opens the file and sets the oplock.
6. client of smbd-2 calls defer_open_done(), sees that the file lease was not changed
and does not reschedule open.
and is no longer needed now vfs_streams_xattr.c no longer opens
the base file internally.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'testprogs')
0 files changed, 0 insertions, 0 deletions