diff options
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r-- | source4/ntvfs/posix/pvfs_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index 3c3e13bc91..1b1c32cab5 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -710,7 +710,7 @@ static NTSTATUS pvfs_create_file(struct pvfs_state *pvfs, if (pvfs->flags & PVFS_FLAG_FAKE_OPLOCKS) { - io->generic.out.oplock_level = OPLOCK_EXCLUSIVE; + io->generic.out.oplock_level = OPLOCK_BATCH; } else { io->generic.out.oplock_level = OPLOCK_NONE; } @@ -1238,7 +1238,7 @@ NTSTATUS pvfs_open(struct ntvfs_module_context *ntvfs, talloc_free(lck); if (pvfs->flags & PVFS_FLAG_FAKE_OPLOCKS) { - io->generic.out.oplock_level = OPLOCK_EXCLUSIVE; + io->generic.out.oplock_level = OPLOCK_BATCH; } else { io->generic.out.oplock_level = OPLOCK_NONE; } |