Upgrade ntvfs_map_*info to ntvfs_map_async_setup/ntvfs_map_async_finish
authorSam Liddicott <sam@liddicott.com>
Fri, 26 Jun 2009 11:31:19 +0000 (12:31 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 26 Jun 2009 12:39:44 +0000 (14:39 +0200)
commit131c95eddaa23a1cc90ed81348f7f96548b5ca18
treed94b6a86a1b843c6f6dfd2250ee245b448eaa4cf
parenta4bc5bfa95be242fe1c8e0cd520a8f1e3d2a67f5
Upgrade ntvfs_map_*info to ntvfs_map_async_setup/ntvfs_map_async_finish

ntvfs_map_fsinfo, ntvfs_map_qpathinfo, ntvfs_map_qfileinfo used an
old synchronous mapping technique, acceptable on the grounds that
they were only used by the simple vfs which was synchronous.

Other vfs may/do use these functions, and by upgrading them to use the
ntvfs_map_async_setup/ntvfs_map_async_finish framework, they can now be
used asynchronously.

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/ntvfs/ntvfs_generic.c