r23831: Fix vfs_readahead: transparent modules should always pass through
authorAlexander Bokovoy <ab@samba.org>
Wed, 11 Jul 2007 12:04:55 +0000 (12:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:31 +0000 (12:28 -0500)
(This used to be commit 800cf5c81c12985922f34610473d746458c85f90)

source3/modules/vfs_readahead.c

index 8719f5394868131893d8d003b39fc14fa746e6fb..5dab8cb91615c7b1a5f8fa34d927cfa0c92a94bd 100644 (file)
@@ -159,7 +159,7 @@ static int readahead_connect(struct vfs_handle_struct *handle,
 
        handle->data = (void *)rhd;
        handle->free_data = free_readahead_data;
-       return 0;
+       return SMB_VFS_NEXT_CONNECT(handle, service, user);
 }
 
 /*******************************************************************