summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-22 07:01:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:25 -0500
commit020b38656016d3adeeaa9b09d41ea0c29f686ed4 (patch)
treea652a2e5e3989019efa79cfd4bdf1574594e1ec6 /source4/ntvfs/posix/vfs_posix.h
parent7d30e54927e75cc38520005d5f713dfd5dd1a8b1 (diff)
downloadsamba-020b38656016d3adeeaa9b09d41ea0c29f686ed4.tar.gz
samba-020b38656016d3adeeaa9b09d41ea0c29f686ed4.tar.bz2
samba-020b38656016d3adeeaa9b09d41ea0c29f686ed4.zip
r3135: split the "create new" logic out from the "open existing" logic in
pvfs_open, and handle the various race conditions that are inherent in cifs on unix, so we do the best we can when the race happens. the ntcreatex code is really starting to take shape now (This used to be commit 395c3815b468ae55de9a1135e478711f0e7d8cfc)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r--source4/ntvfs/posix/vfs_posix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h
index 5b6685b753..59924b0b1b 100644
--- a/source4/ntvfs/posix/vfs_posix.h
+++ b/source4/ntvfs/posix/vfs_posix.h
@@ -40,10 +40,10 @@ struct pvfs_state {
struct odb_context *odb_context;
/* an id tree mapping open search ID to a pvfs_search_state structure */
- void *idtree_search;
+ struct idr_context *idtree_search;
/* an id tree mapping open file handle -> struct pvfs_file */
- void *idtree_fnum;
+ struct idr_context *idtree_fnum;
};