summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-07 18:23:34 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-07 19:35:12 +0100
commite5e799aeb6b57ade1dd9c1a1d2c3aab1ad08d6df (patch)
treebece52c1b8e9c1f3f1d1360917ad439d990290c5 /source4/ntvfs/common/opendb.h
parent75a412a46975754e75679f5d072e6ce688fee894 (diff)
downloadsamba-e5e799aeb6b57ade1dd9c1a1d2c3aab1ad08d6df.tar.gz
samba-e5e799aeb6b57ade1dd9c1a1d2c3aab1ad08d6df.tar.bz2
samba-e5e799aeb6b57ade1dd9c1a1d2c3aab1ad08d6df.zip
opendb: force odb_can_open() before odb_open_file()
Now there's only odb_can_open() which handles the share_access rules. And odb_open_file() only adds the new opendb_entry into the database and calculates the granted oplock level. metze (This used to be commit db0853ae4fead34ef382bbfcfe2f46453ab8b73b)
Diffstat (limited to 'source4/ntvfs/common/opendb.h')
-rw-r--r--source4/ntvfs/common/opendb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/ntvfs/common/opendb.h b/source4/ntvfs/common/opendb.h
index 1c7f815dea..fb3223aea9 100644
--- a/source4/ntvfs/common/opendb.h
+++ b/source4/ntvfs/common/opendb.h
@@ -27,9 +27,6 @@ struct opendb_ops {
DATA_BLOB (*odb_get_key)(TALLOC_CTX *mem_ctx, struct odb_lock *lck);
NTSTATUS (*odb_open_file)(struct odb_lock *lck,
void *file_handle, const char *path,
- uint32_t stream_id, uint32_t share_access,
- uint32_t access_mask, bool delete_on_close,
- uint32_t open_disposition, bool break_to_none,
bool allow_level_II_oplock,
uint32_t oplock_level, uint32_t *oplock_granted);
NTSTATUS (*odb_open_file_pending)(struct odb_lock *lck, void *private);