opendb: force odb_can_open() before odb_open_file()
authorStefan Metzmacher <metze@samba.org>
Fri, 7 Mar 2008 17:23:34 +0000 (18:23 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Mar 2008 18:35:12 +0000 (19:35 +0100)
commite5e799aeb6b57ade1dd9c1a1d2c3aab1ad08d6df
treebece52c1b8e9c1f3f1d1360917ad439d990290c5
parent75a412a46975754e75679f5d072e6ce688fee894
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)
source4/cluster/ctdb/opendb_ctdb.c
source4/ntvfs/common/opendb.c
source4/ntvfs/common/opendb.h
source4/ntvfs/common/opendb_tdb.c