summaryrefslogtreecommitdiffstats
path: root/source3/include/vfs_macros.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-09 15:00:56 -0800
committerJeremy Allison <jra@samba.org>2011-02-09 15:13:37 -0800
commit61c1f312d2665197d34245537a8f5b641bda1243 (patch)
tree46f239865b186a0b2f0da2027be01c5febb2000c /source3/include/vfs_macros.h
parentd0406ab7f035c7a777b9494712e7b9b52df95a19 (diff)
downloadsamba-61c1f312d2665197d34245537a8f5b641bda1243.tar.gz
samba-61c1f312d2665197d34245537a8f5b641bda1243.tar.xz
samba-61c1f312d2665197d34245537a8f5b641bda1243.zip
Correctly plumb in VFS_FDOPENDIR.
Diffstat (limited to 'source3/include/vfs_macros.h')
-rw-r--r--source3/include/vfs_macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/vfs_macros.h b/source3/include/vfs_macros.h
index c0fbe3860d..7c26529385 100644
--- a/source3/include/vfs_macros.h
+++ b/source3/include/vfs_macros.h
@@ -74,8 +74,8 @@
#define SMB_VFS_NEXT_OPENDIR(handle, fname, mask, attr) \
smb_vfs_call_opendir((handle)->next, (fname), (mask), (attr))
-#define SMB_VFS_FDOPENDIR(conn, fsp, mask, attr) \
- smb_vfs_call_fdopendir((conn)->vfs_handles, (fsp), (mask), (attr))
+#define SMB_VFS_FDOPENDIR(fsp, mask, attr) \
+ smb_vfs_call_fdopendir((fsp)->conn->vfs_handles, (fsp), (mask), (attr))
#define SMB_VFS_NEXT_FDOPENDIR(handle, fsp, mask, attr) \
smb_vfs_call_fdopendir((handle)->next, (fsp), (mask), (attr))