vfs_virusfilter: Fix the invocation of SMB_VFS_NEXT_CONNECT
SMB_VFS_NEXT_CONNECT get used to call for initialize next module of VFS stack which should be at beginning of vfs_connect but not happening for virusfilter. if path is defined for virusfilter:quarantine for virusfilter then virusfilter is try to create quarantine directory if path does not exist and it does VFS_STAT recursively on each directory from parent to child for defining path for virusfilter:quarantine in samba config file.
As next module is not initialized for virushfilter it fails at VFS_STAT. So rearranging invocation of SMB_VFS_NEXT_CONNECT for virusfilter
Checklist
-
Commits have Signed-off-by:with name/author being identical to the commit author -
(optional) This MR is just one part towards a larger feature. -
(optional, if backport required) Bugzilla bug filed and BUG:tag added -
Test suite updated with functionality tests -
Test suite updated with negative tests -
Documentation updated -
CI timeout is 3h or higher (see Settings/CICD/General pipelines/ Timeout)
Reviewer's checklist:
-
There is a test suite reasonably covering new functionality or modifications -
Function naming, parameters, return values, types, etc., are consistent and according to README.Coding.md -
This feature/change has adequate documentation added -
No obvious mistakes in the code
Edited by Anoop C S