From: Alexander Bokovoy Date: Wed, 11 Jul 2007 12:04:55 +0000 (+0000) Subject: r23831: Fix vfs_readahead: transparent modules should always pass through X-Git-Tag: samba-misc-tags/initial-v3-2-unstable~749 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=800cf5c81c12985922f34610473d746458c85f90;p=thirdparty%2Fsamba.git r23831: Fix vfs_readahead: transparent modules should always pass through --- diff --git a/source/modules/vfs_readahead.c b/source/modules/vfs_readahead.c index 8719f539486..5dab8cb9161 100644 --- a/source/modules/vfs_readahead.c +++ b/source/modules/vfs_readahead.c @@ -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); } /*******************************************************************