From 020b38656016d3adeeaa9b09d41ea0c29f686ed4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Oct 2004 07:01:32 +0000 Subject: 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) --- source4/ntvfs/posix/vfs_posix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/ntvfs/posix/vfs_posix.h') 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; }; -- cgit