diff options
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/onefs_dir.c | 2 | ||||
-rw-r--r-- | source3/modules/vfs_default.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/onefs_dir.c b/source3/modules/onefs_dir.c index 808f6fb047..da60ff388e 100644 --- a/source3/modules/onefs_dir.c +++ b/source3/modules/onefs_dir.c @@ -416,7 +416,7 @@ onefs_seekdir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp, long offset) if (!lp_parm_bool(SNUM(handle->conn), PARM_ONEFS_TYPE, PARM_USE_READDIRPLUS, PARM_USE_READDIRPLUS_DEFAULT)) { - return sys_seekdir(dirp, offset); + return seekdir(dirp, offset); } /* Validate inputs */ diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index f64bbcb526..e9ff7cb8bc 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -386,7 +386,7 @@ static SMB_STRUCT_DIRENT *vfswrap_readdir(vfs_handle_struct *handle, static void vfswrap_seekdir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp, long offset) { START_PROFILE(syscall_seekdir); - sys_seekdir(dirp, offset); + seekdir(dirp, offset); END_PROFILE(syscall_seekdir); } |