return ret;
}
-static int syncops_link(vfs_handle_struct *handle,
- const struct smb_filename *old_smb_fname,
- const struct smb_filename *new_smb_fname)
-{
- int ret;
- struct syncops_config_data *config;
-
- SMB_VFS_HANDLE_GET_DATA(handle, config,
- struct syncops_config_data,
- return -1);
-
- ret = SMB_VFS_NEXT_LINK(handle, old_smb_fname, new_smb_fname);
- if (ret == 0 && config->onmeta && !config->disable) {
- syncops_two_names(old_smb_fname->base_name,
- new_smb_fname->base_name);
- }
- return ret;
-}
-
static int syncops_linkat(vfs_handle_struct *handle,
files_struct *srcfsp,
const struct smb_filename *old_smb_fname,
.renameat_fn = syncops_renameat,
.unlink_fn = syncops_unlink,
.symlink_fn = syncops_symlink,
- .link_fn = syncops_link,
.linkat_fn = syncops_linkat,
.mknod_fn = syncops_mknod,
.close_fn = syncops_close,